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.
43 lines
1.0 KiB
43 lines
1.0 KiB
Index: build.sh |
|
--- build.sh.orig 2018-03-01 22:11:11.000000000 +0100 |
|
+++ build.sh 2018-08-01 22:34:24.599438000 +0200 |
|
@@ -40,7 +40,7 @@ |
|
|
|
CC="gcc" |
|
LINKER="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 |
|
@@ -85,8 +85,6 @@ |
|
;; |
|
*freebsd* ) |
|
myos="freebsd" |
|
- CC="clang" |
|
- LINKER="clang" |
|
LINK_FLAGS="$LINK_FLAGS -lm" |
|
;; |
|
*openbsd* ) |
|
@@ -99,8 +97,6 @@ |
|
;; |
|
*darwin* ) |
|
myos="macosx" |
|
- CC="clang" |
|
- LINKER="clang" |
|
LINK_FLAGS="$LINK_FLAGS -ldl -lm" |
|
if [ "$HOSTTYPE" = "x86_64" ] ; then |
|
ucpu="amd64" |
|
Index: install.sh |
|
--- install.sh.orig 2018-08-01 22:34:24.599708000 +0200 |
|
+++ install.sh 2018-08-01 22:34:52.503771000 +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 |
|
|
|
|