Add -fno-strict-aliasing
By default libsm64 is compiled with no optimisation so this doesn't matter, but if people want optimisation this stops it from breaking
This commit is contained in:
@@ -9,7 +9,7 @@ else
|
|||||||
CXX := c++
|
CXX := c++
|
||||||
LDFLAGS := -lm -shared
|
LDFLAGS := -lm -shared
|
||||||
endif
|
endif
|
||||||
CFLAGS := -g -Wall -Wno-unused-function -fPIC -fvisibility=hidden -DSM64_LIB_EXPORT -DGBI_FLOATS -DVERSION_US -DNO_SEGMENTED_MEMORY
|
CFLAGS := -fno-strict-aliasing -g -Wall -Wno-unused-function -fPIC -fvisibility=hidden -DSM64_LIB_EXPORT -DGBI_FLOATS -DVERSION_US -DNO_SEGMENTED_MEMORY
|
||||||
|
|
||||||
SRC_DIRS := src src/decomp src/decomp/engine src/decomp/include/PR src/decomp/game src/decomp/pc src/decomp/pc/audio src/decomp/mario src/decomp/tools src/decomp/audio
|
SRC_DIRS := src src/decomp src/decomp/engine src/decomp/include/PR src/decomp/game src/decomp/pc src/decomp/pc/audio src/decomp/mario src/decomp/tools src/decomp/audio
|
||||||
BUILD_DIR := build
|
BUILD_DIR := build
|
||||||
|
|||||||
Reference in New Issue
Block a user