Mercurial > pub > dyncall > dyncall
comparison configure @ 265:050e60ed28c4
- typo in prev commit
author | Tassilo Philipp |
---|---|
date | Thu, 25 May 2017 01:19:00 +0200 |
parents | 928617270c79 |
children | 91fd7be165f1 |
comparison
equal
deleted
inserted
replaced
264:928617270c79 | 265:050e60ed28c4 |
---|---|
219 (echo '.text';(echo '.globl main';echo 'main:') | sed 'p;s/m/_m/') > $RWXTESTPREFIX.$s | 219 (echo '.text';(echo '.globl main';echo 'main:') | sed 'p;s/m/_m/') > $RWXTESTPREFIX.$s |
220 | 220 |
221 # Check var to be used, which depends on inference rules of this platform. E.g. ASFLAGS is only common on GNU, and | 221 # Check var to be used, which depends on inference rules of this platform. E.g. ASFLAGS is only common on GNU, and |
222 # on some other platforms only CFLAGS is the only one used, others use AFLAGS with cc and thus need -Wa,... Check | 222 # on some other platforms only CFLAGS is the only one used, others use AFLAGS with cc and thus need -Wa,... Check |
223 # makes use of the config written so far, so use '+=' to not overwrite vars. | 223 # makes use of the config written so far, so use '+=' to not overwrite vars. |
224 for f in "ASFLAGS+=-Wa,--noexecstack" "ACFLAGS+=-Wa,--noexecstack" "AFLAGS+=--noexecstack" "AFLAGS+=--noexecstack" "CFLAGS+=-Wa,--noexecstack"; do | 224 for f in "ASFLAGS+=-Wa,--noexecstack" "ACFLAGS+=-Wa,--noexecstack" "AFLAGS+=--noexecstack" "AFLAGS+=-Wa,--noexecstack" "CFLAGS+=-Wa,--noexecstack"; do |
225 # dummy makefile triggering inference rules, reflecting dyncall's build | 225 # dummy makefile triggering inference rules, reflecting dyncall's build |
226 make -f - <<MAKEFILE | 226 make -f - <<MAKEFILE |
227 include $C | 227 include $C |
228 $f | 228 $f |
229 # Force dependency via .o, to avoid .[sS].out rules that might be set - also set command as not all platforms set .o.out | 229 # Force dependency via .o, to avoid .[sS].out rules that might be set - also set command as not all platforms set .o.out |