standard filter supports multiple line expressions; better amd64 detection for mac os X
This commit is contained in:
parent
9cf4cf0299
commit
c065694598
3 changed files with 56 additions and 16 deletions
|
|
@ -1,6 +1,8 @@
|
|||
#! stdtmpl(subsChar='?') | standard
|
||||
#proc GenerateBuildShellScript(c: TConfigData): string =
|
||||
# result = "#! /bin/sh\n# Generated by niminst\n"
|
||||
# result = "#! /bin/sh\n# Generated from niminst\n" &
|
||||
# "# Template is in tools/buildsh.tmpl\n" &
|
||||
# "# To regenerate run ``niminst csource`` or ``koch csource``\n"
|
||||
CC="gcc"
|
||||
LINKER="gcc"
|
||||
COMP_FLAGS="-w -O3 -fno-strict-aliasing"
|
||||
|
|
@ -33,7 +35,7 @@ case $uos in
|
|||
*darwin* )
|
||||
myos="macosx"
|
||||
LINK_FLAGS="$LINK_FLAGS -ldl -lm"
|
||||
if [ "`sysctl hw |grep 64bit`" = "hw.cpu64bit_capable: 1" ] ; then
|
||||
if [ "$HOSTTYPE" = "x86_64" ] ; then
|
||||
ucpu="amd64"
|
||||
fi
|
||||
;;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue