Files
libpqcrypto/libpqcrypto-generic-compiler.patch
Marcus Meissner 9be4e2bcfd - libpqcrypto-gnu-stack.patch: tag assembly with GNU.stack notes
- 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
2023-02-02 13:39:21 +00:00

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