Browse Source

Merge pull request #4979 from martin-frbg/issue4978-2

Remove any optimization flags from DEBUG builds on POWER architecture
tags/v0.3.29
Martin Kroeker GitHub 10 months ago
parent
commit
18014b04c8
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      Makefile.system

+ 7
- 0
Makefile.system View File

@@ -1615,6 +1615,13 @@ NO_AFFINITY = 1
endif
endif

ifeq ($(ARCH), POWER)
ifeq ($(DEBUG), 1)
CCOMMON_OPT := $(filter-out -O%, $(CCOMMON_OPT)) -O0
FCOMMON_OPT := $(filter-out -O%, $(FCOMMON_OPT)) -O0
endif
endif

ifdef NO_AFFINITY
ifeq ($(NO_AFFINITY), 0)
override undefine NO_AFFINITY


Loading…
Cancel
Save