mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-13 12:01:19 +02:00
add node 14
This commit is contained in:
33
data/mongodb42/files/patch-SConstruct
Normal file
33
data/mongodb42/files/patch-SConstruct
Normal file
@@ -0,0 +1,33 @@
|
||||
--- SConstruct.orig 2019-08-08 20:06:23 UTC
|
||||
+++ SConstruct
|
||||
@@ -1068,9 +1068,9 @@ if has_option('variables-help'):
|
||||
print((env_vars.GenerateHelpText(env)))
|
||||
Exit(0)
|
||||
|
||||
-unknown_vars = env_vars.UnknownVariables()
|
||||
-if unknown_vars:
|
||||
- env.FatalError("Unknown variables specified: {0}", ", ".join(list(unknown_vars.keys())))
|
||||
+#unknown_vars = env_vars.UnknownVariables()
|
||||
+#if unknown_vars:
|
||||
+# env.FatalError("Unknown variables specified: {0}", ", ".join(list(unknown_vars.keys())))
|
||||
|
||||
def set_config_header_define(env, varname, varval = 1):
|
||||
env['CONFIG_HEADER_DEFINES'][varname] = varval
|
||||
@@ -1851,7 +1851,7 @@ if env.TargetOSIs('posix'):
|
||||
# If runtime hardening is requested, then build anything
|
||||
# destined for an executable with the necessary flags for PIE.
|
||||
env.AppendUnique(
|
||||
- PROGCCFLAGS=['-fPIE'],
|
||||
+ PROGCCFLAGS=['-fpic'],
|
||||
PROGLINKFLAGS=['-pie'],
|
||||
)
|
||||
|
||||
@@ -1865,7 +1865,7 @@ if env.TargetOSIs('posix'):
|
||||
"-Wno-unknown-pragmas",
|
||||
"-Winvalid-pch"] )
|
||||
# env.Append( " -Wconversion" ) TODO: this doesn't really work yet
|
||||
- if env.TargetOSIs('linux', 'darwin', 'solaris'):
|
||||
+ if env.TargetOSIs('linux', 'darwin', 'solaris', 'freebsd'):
|
||||
if not has_option("disable-warnings-as-errors"):
|
||||
env.Append( CCFLAGS=["-Werror"] )
|
||||
|
||||
Reference in New Issue
Block a user