summaryrefslogtreecommitdiff
blob: 7d5214c7db34d14812b816809a8a87d8d79c0573 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
respect compiler, ldflags and cflags

--- build
+++ build
@@ -36,7 +36,7 @@
 #define RULES_FILE \"$LIBDIR/en/scrabble_rules\"
 " > src/config.h
   xmkmf -a
-  make
+  make CC="${CC}" CCOPTIONS="${CFLAGS}" LOCAL_LDFLAGS="${LDFLAGS}"
   echo "
 Now, type './build install' to install programs in $BINDIR
 "