2019-10-03 Ismael Luceno <ismael AT sourcemage.org>
* Makefile: Made help target portable
diff --git a/usr/sbin/sorcery b/usr/sbin/sorcery
index 595de69..5823a4c 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 bb31494..06233ee 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"
;;
[SM-Commit] GIT changes to master sorcery by Ismael Luceno (fc25c3a4a8bc4fe977d3e463f7b52e6551dbdf9c),
Ismael Luceno, 08/05/2020