git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into naffanya-dev
[stg.git]
/
projects
/
rscriptd
/
build
diff --git
a/projects/rscriptd/build
b/projects/rscriptd/build
index c7aa090dc9d2bf79a1cd7591ff44813690f2e131..626819323b7b41ac21a1c075f08d050a4d7b9b86 100755
(executable)
--- a/
projects/rscriptd/build
+++ b/
projects/rscriptd/build
@@
-20,6
+20,7
@@
if [ "$1" = "debug" ]
then
DEFS="$DEFS -DDEBUG"
MAKEOPTS="$MAKEOPTS -j1"
then
DEFS="$DEFS -DDEBUG"
MAKEOPTS="$MAKEOPTS -j1"
+ CFLAGS="$CFLAGS -ggdb3 -W -Wall -Wextra"
CXXFLAGS="$CXXFLAGS -ggdb3 -W -Wall -Wextra"
DEBUG="yes"
else
CXXFLAGS="$CXXFLAGS -ggdb3 -W -Wall -Wextra"
DEBUG="yes"
else
@@
-27,6
+28,7
@@
else
DEBUG="no"
fi
DEBUG="no"
fi
+CFLAGS="$CFLAGS -I/usr/local/include"
CXXFLAGS="$CXXFLAGS -I/usr/local/include"
LDFLAGS="$LDFLAGS -L/usr/local/lib"
CXXFLAGS="$CXXFLAGS -I/usr/local/include"
LDFLAGS="$LDFLAGS -L/usr/local/lib"