diff options
author | MITSUNARI Shigeo <[email protected]> | 2022-11-24 11:40:50 +0900 |
---|---|---|
committer | MITSUNARI Shigeo <[email protected]> | 2022-11-24 15:48:06 +0900 |
commit | bc73a081642f89d6ffc8442a3c8f86ac24ca2729 (patch) | |
tree | d2cfdd5c1a132ed07be563b4e15a03442cf2f05f | |
parent | 6989aea9460557bf0d4aec4681ea73f0a05cfd96 (diff) | |
download | xbyak-bc73a081642f89d6ffc8442a3c8f86ac24ca2729.tar.gz xbyak-bc73a081642f89d6ffc8442a3c8f86ac24ca2729.zip |
remove -fno-operator-names option
-rw-r--r-- | gen/Makefile | 2 | ||||
-rw-r--r-- | test/Makefile | 4 | ||||
-rwxr-xr-x | test/test_address.sh | 2 | ||||
-rwxr-xr-x | test/test_avx.sh | 2 | ||||
-rwxr-xr-x | test/test_avx512.sh | 2 | ||||
-rwxr-xr-x | test/test_nm.sh | 2 |
6 files changed, 7 insertions, 7 deletions
diff --git a/gen/Makefile b/gen/Makefile index 97a6846..f254d71 100644 --- a/gen/Makefile +++ b/gen/Makefile @@ -1,6 +1,6 @@ TARGET=../xbyak/xbyak_mnemonic.h BIN=sortline gen_code gen_avx512 -CFLAGS=-I../ -O2 -DXBYAK_NO_OP_NAMES -Wall -Wextra -Wno-missing-field-initializers $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS) +CFLAGS=-I../ -O2 -Wall -Wextra -Wno-missing-field-initializers $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS) all: $(TARGET) ../CMakeLists.txt ../meson.build ../readme.md ../readme.txt sortline: sortline.cpp $(CXX) $(CFLAGS) $< -o $@ diff --git a/test/Makefile b/test/Makefile index ce7bb2f..296b0bf 100644 --- a/test/Makefile +++ b/test/Makefile @@ -23,9 +23,9 @@ endif all: $(TARGET) -CFLAGS_WARN=-Wall -Wextra -Wformat=2 -Wcast-qual -Wcast-align -Wwrite-strings -Wfloat-equal -Wpointer-arith +CFLAGS_WARN=-Wall -Wextra -Wformat=2 -Wcast-qual -Wwrite-strings -Wfloat-equal -Wpointer-arith -CFLAGS=-O2 -fomit-frame-pointer -Wall -fno-operator-names -I../ -I./ $(CFLAGS_WARN) $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS) #-std=c++0x +CFLAGS=-O2 -Wall -I../ -I./ $(CFLAGS_WARN) $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS) #-std=c++0x make_nm: $(CXX) $(CFLAGS) make_nm.cpp -o $@ normalize_prefix: normalize_prefix.cpp ../xbyak/xbyak.h diff --git a/test/test_address.sh b/test/test_address.sh index 413a2dd..cbe088e 100755 --- a/test/test_address.sh +++ b/test/test_address.sh @@ -5,7 +5,7 @@ FILTER="grep -v warning" sub() { -CFLAGS="-Wall -fno-operator-names -I../ $OPT2" +CFLAGS="-Wall -I../ $OPT2" echo "compile address.cpp" $CXX $CFLAGS address.cpp -o address diff --git a/test/test_avx.sh b/test/test_avx.sh index e949111..07008e0 100755 --- a/test/test_avx.sh +++ b/test/test_avx.sh @@ -31,7 +31,7 @@ Y64) ;; esac -CFLAGS="-Wall -fno-operator-names -I../ $OPT2 -DUSE_AVX" +CFLAGS="-Wall -I../ $OPT2 -DUSE_AVX" echo "compile make_nm.cpp" $CXX $CFLAGS make_nm.cpp -o make_nm diff --git a/test/test_avx512.sh b/test/test_avx512.sh index e110d64..736e142 100755 --- a/test/test_avx512.sh +++ b/test/test_avx512.sh @@ -18,7 +18,7 @@ case $1 in ;; esac -CFLAGS="-Wall -fno-operator-names -I../ $OPT2 -DUSE_AVX512" +CFLAGS="-Wall -I../ $OPT2 -DUSE_AVX512" echo "compile make_512.cpp" $CXX $CFLAGS make_512.cpp -o make_512 diff --git a/test/test_nm.sh b/test/test_nm.sh index 06f80fb..0751149 100755 --- a/test/test_nm.sh +++ b/test/test_nm.sh @@ -44,7 +44,7 @@ noexcept) ;; esac -CFLAGS="-Wall -fno-operator-names -I../ $OPT2" +CFLAGS="-Wall -I../ $OPT2" echo "compile make_nm.cpp with $CFLAGS" $CXX $CFLAGS make_nm.cpp -o make_nm |