From 19d6c252b94990b01b340dfdf1b7bc7ba4c0c341 Mon Sep 17 00:00:00 2001 From: Przemyslaw Czerpak Date: Wed, 19 Aug 2009 22:03:22 +0000 Subject: [PATCH] 2009-08-20 00:03 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/hb-func.sh * use -I parameter passed to Harbour compiler in hb* scripts also with C compiler for C code inside #pragma begindump/enddump --- harbour/ChangeLog | 5 +++++ harbour/bin/hb-func.sh | 1 + 2 files changed, 6 insertions(+) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index e4244bdede..4427fd43e9 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,11 @@ past entries belonging to author(s): Viktor Szakats. */ +2009-08-20 00:03 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + * harbour/bin/hb-func.sh + * use -I parameter passed to Harbour compiler in hb* scripts + also with C compiler for C code inside #pragma begindump/enddump + 2009-08-19 21:26 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * INSTALL + Added msvcarm examples (using MSVC 2008. 2005 should be similar). diff --git a/harbour/bin/hb-func.sh b/harbour/bin/hb-func.sh index c4dacea7de..d51fa5a943 100755 --- a/harbour/bin/hb-func.sh +++ b/harbour/bin/hb-func.sh @@ -450,6 +450,7 @@ while [ \$n -lt \${#P[@]} ]; do -nostrip) HB_STRIP="no" ;; -l[^-]*) HB_USRLIBS="\${HB_USRLIBS} \${v}" ;; -L[^-]*) HB_USRLPATH="\${HB_USRLPATH} \${v}" ;; + -I*) [ \${HB} = "cc" ] || CC_OPT="\${CC_OPT} \${v}"; p="\${v}" ;; -mwindows) LN_OPT="\${LN_OPT} \${v}"; HB_MODE="gui" ;; -mconsole) LN_OPT="\${LN_OPT} \${v}"; HB_MODE="std" ;; -main=*) HB_MAIN_FUNC="\${v#*=}" ;;