- add new patch0 file
OBS-URL: https://build.opensuse.org/package/show/science/openblas?expand=0&rev=10
This commit is contained in:
parent
320b1edf5b
commit
fd7b135be2
@ -1,11 +0,0 @@
|
||||
diff -ur xianyi-OpenBLAS-7c1db22/exports/Makefile xianyi-OpenBLAS-7c1db22-m/exports/Makefile
|
||||
--- xianyi-OpenBLAS-7c1db22/exports/Makefile 2012-03-23 11:52:40.000000000 +0100
|
||||
+++ xianyi-OpenBLAS-7c1db22-m/exports/Makefile 2012-04-25 20:25:16.933408544 +0200
|
||||
@@ -112,6 +112,7 @@
|
||||
|
||||
../$(LIBSONAME) : ../$(LIBNAME) linux.def linktest.c
|
||||
$(CC) $(CFLAGS) -shared -o ../$(LIBSONAME) \
|
||||
+ -Wl,-z,noexecstack \
|
||||
-Wl,--whole-archive ../$(LIBNAME) -Wl,--no-whole-archive \
|
||||
-Wl,--retain-symbols-file=linux.def $(EXTRALIB)
|
||||
$(CC) $(CFLAGS) -w -o linktest linktest.c ../$(LIBSONAME) $(FEXTRALIB) && echo OK.
|
27
openblas-0.2.1-noexecstack.patch
Normal file
27
openblas-0.2.1-noexecstack.patch
Normal file
@ -0,0 +1,27 @@
|
||||
diff -urN xianyi-OpenBLAS-956397f-orig/exports/Makefile xianyi-OpenBLAS-956397f/exports/Makefile
|
||||
--- xianyi-OpenBLAS-956397f-orig/exports/Makefile 2012-06-30 02:26:10.000000000 +0200
|
||||
+++ xianyi-OpenBLAS-956397f/exports/Makefile 2012-07-02 21:45:45.204536642 +0200
|
||||
@@ -107,6 +107,7 @@
|
||||
|
||||
../$(LIBSONAME) : ../$(LIBNAME) linux.def linktest.c
|
||||
$(CC) $(CFLAGS) -shared -o ../$(LIBSONAME) \
|
||||
+ -Wl,-z,noexecstack \
|
||||
-Wl,--whole-archive ../$(LIBNAME) -Wl,--no-whole-archive \
|
||||
-Wl,--retain-symbols-file=linux.def -Wl,-soname,$(LIBPREFIX).so.$(MAJOR_VERSION) $(EXTRALIB)
|
||||
$(CC) $(CFLAGS) -w -o linktest linktest.c ../$(LIBSONAME) $(FEXTRALIB) && echo OK.
|
||||
@@ -120,6 +121,7 @@
|
||||
|
||||
../$(LIBSONAME) : ../$(LIBNAME) linux.def linktest.c
|
||||
$(CC) $(CFLAGS) -shared -o ../$(LIBSONAME) \
|
||||
+ -Wl,-z,noexecstack \
|
||||
-Wl,--whole-archive ../$(LIBNAME) -Wl,--no-whole-archive \
|
||||
-Wl,--retain-symbols-file=linux.def $(FEXTRALIB) $(EXTRALIB)
|
||||
$(CC) $(CFLAGS) -w -o linktest linktest.c ../$(LIBSONAME) $(FEXTRALIB) && echo OK.
|
||||
@@ -139,6 +141,7 @@
|
||||
|
||||
so : ../$(LIBSONAME)
|
||||
$(CC) $(CFLAGS) -shared -o ../$(LIBSONAME) \
|
||||
+ -Wl,-z,noexecstack \
|
||||
-Wl,--whole-archive ../$(LIBNAME) -Wl,--no-whole-archive $(EXTRALIB)
|
||||
$(CC) $(CFLAGS) -w -o linktest linktest.c ../$(LIBSONAME) $(FEXTRALIB) && echo OK.
|
||||
rm -f linktest
|
Loading…
x
Reference in New Issue
Block a user