From ff2f644a979936bdfa168e5f8de80160449d061d Mon Sep 17 00:00:00 2001 From: Przemyslaw Czerpak Date: Tue, 15 Dec 2009 23:00:38 +0000 Subject: [PATCH] 2009-12-16 00:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * use -n2 as default harbour compiler parameter in hb* scripts --- harbour/ChangeLog | 4 ++++ harbour/bin/hb-func.sh | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index eb542bbc0f..dc4b052627 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,10 @@ past entries belonging to author(s): Viktor Szakats. */ +2009-12-16 00:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + * harbour/bin/hb-func.sh + * use -n2 as default harbour compiler parameter in hb* scripts + 2009-12-15 21:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbinit.h ! fixed typo in section name in last commit - thanks to Tamas again diff --git a/harbour/bin/hb-func.sh b/harbour/bin/hb-func.sh index 45d593f3f1..69024b4485 100755 --- a/harbour/bin/hb-func.sh +++ b/harbour/bin/hb-func.sh @@ -405,7 +405,7 @@ HB_MODE="" HB_EXIT="" LN_OPT="${CC_HB_USER_LDFLAGS}" CC_OPT="-O3 ${CC_HB_USER_CFLAGS}" -HB_OPT="${CC_HB_USER_PRGFLAGS}" +HB_OPT="-n2 ${CC_HB_USER_PRGFLAGS}" if [ "\${HB_PLATFORM}" = "sunos" ]; then HB_STRIP="no" @@ -695,7 +695,7 @@ hb_cc() hb_cmp() { - ${hb_cmpname} "\$@" \${HB_OPT} \${HB_PATHS} && \\ + ${hb_cmpname} \${HB_OPT} "\$@" \${HB_PATHS} && \\ ( [ "\${HB_GEN//c/}" != "" ] || [ "\${HB_NOC}" = "yes" ] || \\ ( [ -f "\${FOUTC}" ] && \\ hb_cc -c "\${FOUTC}" -o "\${FOUTO}" && \\