You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
Index: build.sh
|
|
|
|
|
--- build.sh.orig 2020-10-16 15:11:44.000000000 +0200
|
|
|
|
|
+++ build.sh 2020-10-18 10:45:22.974444000 +0200
|
|
|
|
|
@@ -39,7 +39,7 @@
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
CC="${CC:-gcc}"
|
|
|
|
|
-COMP_FLAGS="${CPPFLAGS:-} ${CFLAGS:-} -w -fmax-errors=3 -O3 -fno-strict-aliasing -fno-ident $extraBuildArgs"
|
|
|
|
|
+COMP_FLAGS="${CPPFLAGS:-} ${CFLAGS:-} -fno-strict-aliasing -fno-ident $extraBuildArgs"
|
|
|
|
|
LINK_FLAGS="${LDFLAGS:-} "
|
|
|
|
|
PS4=""
|
|
|
|
|
# platform detection
|
|
|
|
|
@@ -84,7 +84,6 @@
|
|
|
|
|
;;
|
|
|
|
|
*freebsd* )
|
|
|
|
|
myos="freebsd"
|
|
|
|
|
- CC="clang"
|
|
|
|
|
LINK_FLAGS="$LINK_FLAGS -lm"
|
|
|
|
|
;;
|
|
|
|
|
*openbsd* )
|
|
|
|
|
@@ -98,7 +97,6 @@
|
|
|
|
|
;;
|
|
|
|
|
*darwin* )
|
|
|
|
|
myos="macosx"
|
|
|
|
|
- CC="clang"
|
|
|
|
|
LINK_FLAGS="$LINK_FLAGS -ldl -lm"
|
|
|
|
|
if [ "$HOSTTYPE" = "x86_64" ] ; then
|
|
|
|
|
ucpu="amd64"
|
|
|
|
|
Index: install.sh
|
|
|
|
|
--- install.sh.orig 2020-10-16 15:11:44.000000000 +0200
|
|
|
|
|
+++ install.sh 2020-10-17 13:13:25.155710000 +0200
|
|
|
|
|
@@ -61,6 +61,9 @@
|
|
|
|
|
mkdir -p $1/nim
|
|
|
|
|
mkdir -p $bindir
|
|
|
|
|
mkdir -p $configdir
|
|
|
|
|
+ mkdir -p $libdir
|
|
|
|
|
+ mkdir -p $docdir
|
|
|
|
|
+ mkdir -p $datadir
|
|
|
|
|
;;
|
|
|
|
|
esac
|
|
|
|
|
|