- libpqcrypto-generic-compiler.patch: avoid -mtune=native -march=native, as we want generic binaries OBS-URL: https://build.opensuse.org/package/show/home:msmeissn/libpqcrypto?expand=0&rev=25
17 lines
772 B
Diff
17 lines
772 B
Diff
Index: libpqcrypto-20180314/compilers/c
|
|
===================================================================
|
|
--- libpqcrypto-20180314.orig/compilers/c
|
|
+++ libpqcrypto-20180314/compilers/c
|
|
@@ -1,2 +1,2 @@
|
|
-gcc -fPIC -Wall -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv
|
|
-clang -fPIC -Wall -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv
|
|
+gcc -fPIC -Wall -O3 -fomit-frame-pointer -fwrapv
|
|
+clang -fPIC -Wall -O3 -fomit-frame-pointer -fwrapv
|
|
Index: libpqcrypto-20180314/compilers/cpp
|
|
===================================================================
|
|
--- libpqcrypto-20180314.orig/compilers/cpp
|
|
+++ libpqcrypto-20180314/compilers/cpp
|
|
@@ -1 +1 @@
|
|
-g++ -march=native -mtune=native -O3 -fomit-frame-pointer -fwrapv
|
|
+g++ -O3 -fomit-frame-pointer -fwrapv
|