File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -127,6 +127,8 @@ class ExtensionConfig(object):
127127 self .mms_root = builder .options .mms_path
128128 else :
129129 self .mms_root = ResolveEnvPath ('MMSOURCE112' , 'mmsource-1.12' )
130+ if not self .mms_root :
131+ self .mms_root = ResolveEnvPath ('MMSOURCE' , 'metamod-source' )
130132 if not self .mms_root :
131133 self .mms_root = ResolveEnvPath ('MMSOURCE_DEV' , 'metamod-source' )
132134 if not self .mms_root :
@@ -245,6 +247,9 @@ class ExtensionConfig(object):
245247 '-Wno-tautological-overlap-compare' ,
246248 ]
247249
250+ if cxx .version >= 'clang-21.0' :
251+ cxx .cflags += ['-Wno-uninitialized-const-pointer' ]
252+
248253 if have_gcc :
249254 cxx .cflags += ['-mfpmath=sse' ]
250255 cxx .cflags += ['-Wno-maybe-uninitialized' ]
@@ -313,9 +318,9 @@ class ExtensionConfig(object):
313318
314319 def configure_mac (self , cxx ):
315320 cxx .defines += ['OSX' , '_OSX' , 'POSIX' , 'KE_ABSOLUTELY_NO_STL' ]
316- cxx .cflags += ['-mmacosx-version-min=10.7 ' ]
321+ cxx .cflags += ['-mmacosx-version-min=10.15 ' ]
317322 cxx .linkflags += [
318- '-mmacosx-version-min=10.7 ' ,
323+ '-mmacosx-version-min=10.15 ' ,
319324 '-stdlib=libc++' ,
320325 '-lc++' ,
321326 ]
You can’t perform that action at this time.
0 commit comments