summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2023-04-16 14:11:09 -0400
committerJeffrey Walton <noloader@gmail.com>2023-04-16 14:11:09 -0400
commit03e9fa0942ad22fb419c64429e40275e50e9e158 (patch)
tree3715aa21c7deb8e7bab065d24cd02022cfaa6f14
parent7c82386a8615d197397ec2fbbe047016edc96fa7 (diff)
downloadcryptopp-git-03e9fa0942ad22fb419c64429e40275e50e9e158.tar.gz
Remove 'native' target from makefile
-rw-r--r--GNUmakefile36
1 files changed, 0 insertions, 36 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 763545f0..76ea2749 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -1010,42 +1010,6 @@ ARFLAGS = -xar -o
RANLIB = true
endif
-# Native build testing. Issue 'make native'.
-ifeq ($(findstring native,$(MAKECMDGOALS)),native)
- NATIVE_OPT =
-
- # Try GCC and compatibles first
- TPROG = TestPrograms/test_cxx.cpp
- TOPT = -march=native
- HAVE_OPT = $(shell $(TCOMMAND) 2>&1 | wc -w)
- ifeq ($(strip $(HAVE_OPT)),0)
- NATIVE_OPT = -march=native
- endif # NATIVE_OPT
-
- # And tune
- ifeq ($(NATIVE_OPT),)
- TOPT = -mtune=native
- HAVE_OPT = $(shell $(TCOMMAND) 2>&1 | wc -w)
- ifeq ($(strip $(HAVE_OPT)),0)
- NATIVE_OPT = -mtune=native
- endif # NATIVE_OPT
- endif
-
- # Try SunCC next
- ifeq ($(NATIVE_OPT),)
- TOPT = -native
- HAVE_OPT = $(shell $(TCOMMAND) 2>&1 | wc -w)
- ifeq ($(strip $(HAVE_OPT)),0)
- NATIVE_OPT = -native
- endif # NATIVE_OPT
- endif
-
- ifneq ($(NATIVE_OPT),)
- CRYPTOPP_CXXFLAGS += $(NATIVE_OPT)
- endif
-
-endif # Native
-
# Undefined Behavior Sanitizer (UBsan) testing. Issue 'make ubsan'.
ifeq ($(findstring ubsan,$(MAKECMDGOALS)),ubsan)
CRYPTOPP_CXXFLAGS := $(CRYPTOPP_CXXFLAGS:-g%=-g3)