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 2019-06-07 20:27:48.285838000 +0200
|
|
|
|
|
+++ build.sh 2019-06-07 20:29:19.044630000 +0200
|
|
|
|
|
@@ -39,7 +39,7 @@
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
CC="${CC:-gcc}"
|
|
|
|
|
-COMP_FLAGS="${CPPFLAGS:-} ${CFLAGS:-} -w -O3 -fno-strict-aliasing$extraBuildArgs"
|
|
|
|
|
+COMP_FLAGS="${CPPFLAGS:-} ${CFLAGS:-} -fno-strict-aliasing$extraBuildArgs"
|
|
|
|
|
LINK_FLAGS="${LDFLAGS:-} "
|
|
|
|
|
PS4=""
|
|
|
|
|
# platform detection
|
|
|
|
|
@@ -84,7 +84,6 @@
|
|
|
|
|
;;
|
|
|
|
|
*freebsd* )
|
|
|
|
|
myos="freebsd"
|
|
|
|
|
- CC="clang"
|
|
|
|
|
LINK_FLAGS="$LINK_FLAGS -lm"
|
|
|
|
|
;;
|
|
|
|
|
*openbsd* )
|
|
|
|
|
@@ -97,7 +96,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 2019-06-06 21:32:56.000000000 +0200
|
|
|
|
|
+++ install.sh 2019-06-07 20:27:48.286685000 +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
|
|
|
|
|
|