SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
14
lang/nim/patches/patch-build_sh
Normal file
14
lang/nim/patches/patch-build_sh
Normal file
|
@ -0,0 +1,14 @@
|
|||
- don't hardcode -O3
|
||||
|
||||
Index: build.sh
|
||||
--- build.sh.orig
|
||||
+++ build.sh
|
||||
@@ -60,7 +60,7 @@ if [ "$parallel" -gt 1 ]; then
|
||||
fi
|
||||
CC="sem -j $parallel --id $$ ${CC}"
|
||||
fi
|
||||
-COMP_FLAGS="${CPPFLAGS:-} ${CFLAGS:-} -w -fmax-errors=3 -O3 -fno-strict-aliasing -fno-ident $extraBuildArgs"
|
||||
+COMP_FLAGS="${CPPFLAGS:-} ${CFLAGS:-} -w -fmax-errors=3 -fno-strict-aliasing -fno-ident $extraBuildArgs"
|
||||
LINK_FLAGS="${LDFLAGS:-} "
|
||||
PS4=""
|
||||
# platform detection
|
Loading…
Add table
Add a link
Reference in a new issue