summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-04-09 21:13:15 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-04-09 21:13:15 +0000
commitf72958df29cf49a1056a76be603e047e8c688f48 (patch)
treea2c54d28e9972665c6cbc1b011ecf874d22b001d
parent8f53d03355013cd750d3c3bc7699b52efb2c598f (diff)
fix source file vs library order in a few prereq checks (#4326)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15181 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--include/prereq-build.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/prereq-build.mk b/include/prereq-build.mk
index 0b396c83d..4d1ae891f 100644
--- a/include/prereq-build.mk
+++ b/include/prereq-build.mk
@@ -62,7 +62,7 @@ $(eval $(call Require,working-gcc, \
define Require/working-g++
echo 'int main(int argc, char **argv) { return 0; }' | \
- g++ -x c++ -o $(TMP_DIR)/a.out -lstdc++ - && \
+ g++ -x c++ -o $(TMP_DIR)/a.out - -lstdc++ && \
$(TMP_DIR)/a.out
endef
@@ -72,7 +72,7 @@ $(eval $(call Require,working-g++, \
define Require/ncurses
echo 'int main(int argc, char **argv) { initscr(); return 0; }' | \
- gcc -include ncurses.h -x c -o $(TMP_DIR)/a.out -lncurses -
+ gcc -include ncurses.h -x c -o $(TMP_DIR)/a.out - -lncurses
endef
$(eval $(call Require,ncurses, \
@@ -82,7 +82,7 @@ $(eval $(call Require,ncurses, \
define Require/zlib
echo 'int main(int argc, char **argv) { gzdopen(0, "rb"); return 0; }' | \
- gcc -include zlib.h -x c -o $(TMP_DIR)/a.out -lz -
+ gcc -include zlib.h -x c -o $(TMP_DIR)/a.out - -lz
endef
$(eval $(call Require,zlib, \