mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 13:50:38 -04:00
- register conflict with mongodb50 - enable outline-atomics (needs >= 1400033; FreeBSD 11/12/13 do not try to enable it) https://docs.mongodb.com/manual/release-notes/4.2-changelog/#4.2.16-changelog PR: 258455
33 lines
1.4 KiB
Text
33 lines
1.4 KiB
Text
--- SConstruct.orig 2021-06-30 17:39:08 UTC
|
|
+++ SConstruct
|
|
@@ -1092,9 +1092,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
|
|
@@ -1884,7 +1884,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'],
|
|
)
|
|
|
|
@@ -1898,7 +1898,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"] )
|
|
|