Skip to content

Commit

Permalink
Use -fno-gnu-unique by default
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <falktx@falktx.com>
  • Loading branch information
falkTX committed Mar 10, 2022
1 parent f1d7b59 commit c06a4e6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions source/Makefile.mk
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,12 @@ BASE_FLAGS += -DNDEBUG $(BASE_OPTS) -fvisibility=hidden
CXXFLAGS += -fvisibility-inlines-hidden
endif

ifneq ($(MACOS),true)
ifneq ($(WIN32),true)
BASE_FLAGS += -fno-gnu-unique
endif
endif

ifeq ($(WITH_LTO),true)
BASE_FLAGS += -fno-strict-aliasing -flto
endif
Expand Down

0 comments on commit c06a4e6

Please sign in to comment.