Botan/Botan-use_rpm_opt_flags.patch

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)