PIE is implicit in Factory
OBS-URL: https://build.opensuse.org/package/show/utilities/schily?expand=0&rev=22
This commit is contained in:
parent
c21ed668ac
commit
b9cbabd60d
@ -416,17 +416,11 @@ rm -fv libshedit/shlshedit.mk
|
||||
# Static link libsiconv. It forwards to glibc iconv for supported charsets.
|
||||
rm -fv libsiconv/shlsiconv.mk
|
||||
|
||||
find . -type f -exec touch {} +
|
||||
|
||||
# - To enable verbosity, use with CC=cc LDCC=cc DYNLD=cc.
|
||||
# - Not fully parallel safe, so stick to default.
|
||||
#
|
||||
mycf="%optflags -fno-strict-aliasing -fno-omit-frame-pointer -fPIC -finput-charset=ISO-8859-1"
|
||||
gmake RUNPATH="" LINKMODE=dynamic COPTOPT="$mycf" LDOPTX=""
|
||||
rm -fv cdrecord/OBJ/*/cdrecord cdda2wav/OBJ/*/cdda2wav readcd/OBJ/*/readcd
|
||||
# At this point, only the three programs should be relinked.
|
||||
# But on Leap 42.3, a bunch of .c files get rebuilt if we don't touch (see above).
|
||||
gmake RUNPATH="" LINKMODE=dynamic COPTOPT="$mycf -fPIE" LDOPTX=-pie
|
||||
|
||||
%install
|
||||
b="%buildroot"
|
||||
|
Loading…
x
Reference in New Issue
Block a user