mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2024-12-23 01:59:43 +08:00
Recompile tier1.
This commit is contained in:
parent
d8ff047ffd
commit
da376c88b0
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -91,9 +91,9 @@ ARCH_CFLAGS = -mtune=generic -march=core2 -mmmx -msse -msse2 -std=gnu++11 -fPIC
|
|||||||
|
|
||||||
ifeq "$(OS)" "Darwin"
|
ifeq "$(OS)" "Darwin"
|
||||||
DEFINES = -D_OSX -DOSX -D_DLL_EXT=.dylib
|
DEFINES = -D_OSX -DOSX -D_DLL_EXT=.dylib
|
||||||
ARCH_CFLAGS += -mmacosx-version-min=10.5
|
ARCH_CFLAGS += -mmacosx-version-min=10.9 -stdlib=libc++
|
||||||
SHLIBEXT = dylib
|
SHLIBEXT = dylib
|
||||||
SHLIBLDFLAGS = -dynamiclib -mmacosx-version-min=10.5
|
SHLIBLDFLAGS = -dynamiclib -mmacosx-version-min=10.9
|
||||||
SHLIBSUFFIX =
|
SHLIBSUFFIX =
|
||||||
else
|
else
|
||||||
DEFINES = -D_LINUX -DLINUX -D_DLL_EXT=.so
|
DEFINES = -D_LINUX -DLINUX -D_DLL_EXT=.so
|
||||||
@ -107,7 +107,7 @@ DEFINES += -DCOMPILER_GCC -DPOSIX -DX64BITS -DPLATFORM_64BITS -DVPROF_LEVEL=1 -D
|
|||||||
UNDEF = -Usprintf -Ustrncpy -UPROTECTED_THINGS_ENABLE
|
UNDEF = -Usprintf -Ustrncpy -UPROTECTED_THINGS_ENABLE
|
||||||
|
|
||||||
BASE_CFLAGS = -fno-strict-aliasing -Wall -Werror -Wno-conversion -Wno-overloaded-virtual -Wno-non-virtual-dtor -Wno-invalid-offsetof \
|
BASE_CFLAGS = -fno-strict-aliasing -Wall -Werror -Wno-conversion -Wno-overloaded-virtual -Wno-non-virtual-dtor -Wno-invalid-offsetof \
|
||||||
-Wno-unused
|
-Wno-unused -Wno-register
|
||||||
SHLIBCFLAGS = -fPIC
|
SHLIBCFLAGS = -fPIC
|
||||||
|
|
||||||
# Clang >= 3 || GCC >= 4.7
|
# Clang >= 3 || GCC >= 4.7
|
||||||
|
Loading…
Reference in New Issue
Block a user