Fix typo in Makefile

This commit is contained in:
Sam V 2023-12-13 21:03:25 +01:00
parent 6ed0e67000
commit 00fb5c4708

View file

@ -46,7 +46,7 @@ BASE_CFLAGS+=-DNDEBUG -DPOSIX -D_POSIX -DLINUX -D_LINUX -DGNUC -DNO_MALLOC_OVERR
# See https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html#index-flifetime-dse for more information about this flag
# fno-gnu-unique is needed to disable a compiler optimization that prevents dlclose from unloading mod dlls,
# causing them to retain state and crash when the engine tries to access memory in an invalid way
# See https://gcc.gnu.org/onlinedocs/gcc/Code-Gen-Options.html#index-fno-gnu-unique for more informatio about this flag
# See https://gcc.gnu.org/onlinedocs/gcc/Code-Gen-Options.html#index-fno-gnu-unique for more information about this flag
ifeq "$(COMPILER)" "g++"
BASE_CFLAGS+=-flifetime-dse=1 -fno-gnu-unique
endif