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-09-26 15:39:39.000000000 +0200 |
|
+++ build.sh 2018-09-26 19:03:10.343658000 +0200 |
|
@@ -40,7 +40,7 @@ |
|
|
|
CC="${CC:-gcc}" |
|
LINKER="${LD:-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-09-26 15:39:39.000000000 +0200 |
|
+++ install.sh 2018-09-26 18:59:57.091038000 +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 |
|
|
|
|