Files
ports/databases/mongodb44/files/patch-SConstruct
T
Ronald Klop b15a31e89a databases/mongodb44: Update to 4.4.9
* Update CONFLICTS_INSTALL
* Enable LSE atomics on 14-CURRENT aarch64

ChangeLog:	https://docs.mongodb.com/manual/release-notes/4.4-changelog/#4.4.9-changelog
PR:		258687
Approved by:	meta (mentor)
Differential Revision:	https://reviews.freebsd.org/D32374
2021-10-25 16:12:07 +09:00

34 lines
1.4 KiB
Plaintext

--- SConstruct.orig 2021-07-07 09:17:06 UTC
+++ SConstruct
@@ -1213,9 +1213,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())))
if get_option('install-action') != 'default' and get_option('ninja') != "disabled":
env.FatalError("Cannot use non-default install actions when generating Ninja.")
@@ -2091,7 +2091,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'],
)
@@ -2106,7 +2106,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"] )