diff options
author | Ismael Luceno | 2020-08-05 21:21:06 +0200 |
---|---|---|
committer | Ismael Luceno | 2020-08-05 21:21:06 +0200 |
commit | fc25c3a4a8bc4fe977d3e463f7b52e6551dbdf9c (patch) | |
tree | f302eb3cd7d7c32bf5d527d09aab7d3e0b52942e | |
parent | 1c814e8f4567ca5a7a3a65bc11e9473d86b52f07 (diff) |
libsorcery: Remove -DPIC from prelink option
-rw-r--r-- | ChangeLog | 1 | ||||
-rwxr-xr-x | usr/sbin/sorcery | 2 | ||||
-rwxr-xr-x | var/lib/sorcery/modules/libsorcery | 2 |
3 files changed, 3 insertions, 2 deletions
@@ -1,5 +1,6 @@ 2020-08-05 Ismael Luceno <ismael@sourcemage.org> * protected: Added libintl + * libsorcery: Removed -DPIC from prelink optimization option 2019-10-03 Ismael Luceno <ismael@sourcemage.org> * Makefile: Made help target portable diff --git a/usr/sbin/sorcery b/usr/sbin/sorcery index 595de69b..5823a4c0 100755 --- a/usr/sbin/sorcery +++ b/usr/sbin/sorcery @@ -750,7 +750,7 @@ optimization_menu(){ local OPT_TITLE="Optimization Menu" local OPT_HELP="Please select optimizations" - local PRELINK_HELP="Speed up loading applications by pre-linking libraries (CFLAGS=-DPIC -fPIC)" + local PRELINK_HELP="Speed up loading applications by pre-linking libraries (CFLAGS=-fPIC)" local RISKY_HELP="Optimize by violating ANSI/IEEE (unsafe) (CFLAGS=-ffast-math -funroll-loops)" local SPEEDY_HELP="Optimize generated code, conflicts with 'tiny' (CFLAGS=$FAST)" local STRIP_HELP="Remove all symbol table and relocation (debugging) information (LDFLAGS=-s)" diff --git a/var/lib/sorcery/modules/libsorcery b/var/lib/sorcery/modules/libsorcery index bb314946..06233ee5 100755 --- a/var/lib/sorcery/modules/libsorcery +++ b/var/lib/sorcery/modules/libsorcery @@ -638,7 +638,7 @@ optimize() { for PARAM in $OPTIMIZATIONS; do case $PARAM in prelink) - CFLAGS="$CFLAGS -DPIC -fPIC" + CFLAGS="$CFLAGS -fPIC" PRELINK="on" ;; |