SHA256
1
0
forked from pool/Botan
Botan/Botan-use_rpm_opt_flags.patch
OBS User autobuild facc23c698 Accepting request 26756 from devel:libraries:c_c++
Copy from devel:libraries:c_c++/Botan based on submit request 26756 from user psmt

OBS-URL: https://build.opensuse.org/request/show/26756
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/Botan?expand=0&rev=5
2009-12-16 15:54:21 +00:00

14 lines
535 B
Diff

Index: Makefile
===================================================================
--- Makefile.orig 2009-11-27 15:09:06.000000000 +0100
+++ Makefile 2009-11-27 16:14:16.117516962 +0100
@@ -5,7 +5,7 @@ CXX = g++ -m64
LIB_OPT = -O2 -finline-functions
CHECK_OPT = -O2
MACH_OPT =
-LANG_FLAGS = -D_REENTRANT -ansi -Wno-long-long
+LANG_FLAGS = -D_REENTRANT -ansi -Wno-long-long $(RPM_OPT_FLAGS)
WARN_FLAGS = -W -Wall
SO_OBJ_FLAGS = -fPIC
SO_LINK_CMD = $(CXX) -shared -fPIC -Wl,-soname,$(SONAME)