diff options
Diffstat (limited to 'Makefile.rules')
-rw-r--r-- | Makefile.rules | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.rules b/Makefile.rules index 1eeadac198..6c7ec02d15 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -611,9 +611,11 @@ endif # By default, strip dead symbols at link time ifneq ($(HOST_OS), $(filter $(HOST_OS), Cygwin MingW)) ifneq ($(HOST_OS),Darwin) +ifneq ($(HOST_ARCH),Mips) CXX.Flags += -ffunction-sections -fdata-sections endif endif +endif ifndef NO_DEAD_STRIP ifeq ($(HOST_OS),Darwin) LD.Flags += -Wl,-dead_strip |