]> git.pld-linux.org Git - packages/db3.git/commitdiff
Massive attack. We use -O0 instead -O flags while debug enabled.
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 25 Jan 2001 20:03:22 +0000 (20:03 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    db3.spec -> 1.21

db3.spec

index 5264019c330888cfa8ba5507a945eba1fd7bd279..6492a27c667d78e91993cb7879bf6255200456e5 100644 (file)
--- a/db3.spec
+++ b/db3.spec
@@ -99,8 +99,8 @@ cp -a build_unix build_unix.static
 
 cd build_unix.static
 
-CFLAGS="%{?debug:-O -g}%{!?debug:$RPM_OPT_FLAGS} -fno-rtti -fno-implicit-templates" \
-CXXFLAGS="%{?debug:-O -g}%{!?debug:$RPM_OPT_FLAGS} -fno-rtti -fno-implicit-templates" \
+CFLAGS="%{?debug:-O0 -g}%{!?debug:$RPM_OPT_FLAGS} -fno-rtti -fno-implicit-templates" \
+CXXFLAGS="%{?debug:-O0 -g}%{!?debug:$RPM_OPT_FLAGS} -fno-rtti -fno-implicit-templates" \
 ../dist/configure \
        --prefix=%{_prefix} \
        --enable-compat185 \
@@ -114,8 +114,8 @@ CXXFLAGS="%{?debug:-O -g}%{!?debug:$RPM_OPT_FLAGS} -fno-rtti -fno-implicit-templ
 
 cd ../build_unix
 
-CFLAGS="%{?debug:-O -g}%{!?debug:$RPM_OPT_FLAGS} -fno-rtti -fno-implicit-templates" \
-CXXFLAGS="%{?debug:-O -g}%{!?debug:$RPM_OPT_FLAGS} -fno-rtti -fno-implicit-templates" \
+CFLAGS="%{?debug:-O0 -g}%{!?debug:$RPM_OPT_FLAGS} -fno-rtti -fno-implicit-templates" \
+CXXFLAGS="%{?debug:-O0 -g}%{!?debug:$RPM_OPT_FLAGS} -fno-rtti -fno-implicit-templates" \
 ../dist/configure \
        --prefix=%{_prefix} \
        --enable-compat185 \
This page took 0.082459 seconds and 4 git commands to generate.