Do not use -faligned-new on macOS
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
e002a18915
commit
d7f8575782
3 changed files with 15 additions and 3 deletions
|
@ -1003,7 +1003,11 @@ endif
|
|||
|
||||
BUILD_C_FLAGS += -std=gnu11
|
||||
BUILD_C_FLAGS += -fno-finite-math-only -fno-strict-aliasing
|
||||
BUILD_CXX_FLAGS += -fno-finite-math-only -fno-strict-aliasing -faligned-new
|
||||
BUILD_CXX_FLAGS += -fno-finite-math-only -fno-strict-aliasing
|
||||
|
||||
ifneq ($(MACOS),true)
|
||||
BUILD_CXX_FLAGS += -faligned-new
|
||||
endif
|
||||
|
||||
# Rack code is not tested for this flag, unset it
|
||||
BUILD_CXX_FLAGS += -U_GLIBCXX_ASSERTIONS -Wp,-U_GLIBCXX_ASSERTIONS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue