Add architecture option delimiters so distros can easily remove it
The sed command to delete the lines are: sed '/# BEGIN MARCH_CXXFLAGS/,/# END MARCH_CXXFLAGS/d' GNUmakefilepull/339/head
parent
d55d3d53d1
commit
456bd2b1b7
|
|
@ -127,6 +127,7 @@ ifeq ($(IS_X86)$(IS_X32)$(IS_CYGWIN)$(IS_MINGW)$(SUN_COMPILER),00000)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# BEGIN MARCH_CXXFLAGS
|
||||||
# Guard use of -march=native (or -m{32|64} on some platforms)
|
# Guard use of -march=native (or -m{32|64} on some platforms)
|
||||||
# Don't add anything if -march=XXX or -mtune=XXX is specified
|
# Don't add anything if -march=XXX or -mtune=XXX is specified
|
||||||
ifeq ($(findstring -march,$(CXXFLAGS)),)
|
ifeq ($(findstring -march,$(CXXFLAGS)),)
|
||||||
|
|
@ -148,6 +149,7 @@ ifeq ($(findstring -mtune,$(CXXFLAGS)),)
|
||||||
endif
|
endif
|
||||||
endif # -mtune
|
endif # -mtune
|
||||||
endif # -march
|
endif # -march
|
||||||
|
# END MARCH_CXXFLAGS
|
||||||
|
|
||||||
# Aligned access required for -O3 and above due to vectorization
|
# Aligned access required for -O3 and above due to vectorization
|
||||||
UNALIGNED_ACCESS := $(shell $(EGREP) -c "^[[:space:]]*//[[:space:]]*\#[[:space:]]*define[[:space:]]*CRYPTOPP_NO_UNALIGNED_DATA_ACCESS" config.h)
|
UNALIGNED_ACCESS := $(shell $(EGREP) -c "^[[:space:]]*//[[:space:]]*\#[[:space:]]*define[[:space:]]*CRYPTOPP_NO_UNALIGNED_DATA_ACCESS" config.h)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue