diff options
author | Dmitry Sivachenko <demon@FreeBSD.org> | 2003-01-30 15:54:05 +0000 |
---|---|---|
committer | Dmitry Sivachenko <demon@FreeBSD.org> | 2003-01-30 15:54:05 +0000 |
commit | d5ecb032a067ded41d719f58fe2ae57ff4c6ec61 (patch) | |
tree | 3d10e7070bbaeb3a192fc34e0db2fdaaf06068a7 /x11 | |
parent | upgrade to 1.0.2 (diff) |
Respect CFLAGS.
Notes
Notes:
svn path=/head/; revision=74283
Diffstat (limited to 'x11')
-rw-r--r-- | x11/kdelibs3/files/patch-configure | 38 | ||||
-rw-r--r-- | x11/kdelibs4/files/patch-configure | 38 |
2 files changed, 76 insertions, 0 deletions
diff --git a/x11/kdelibs3/files/patch-configure b/x11/kdelibs3/files/patch-configure new file mode 100644 index 000000000000..6ddc066122cd --- /dev/null +++ b/x11/kdelibs3/files/patch-configure @@ -0,0 +1,38 @@ +--- configure.orig Thu Jan 30 15:08:09 2003 ++++ configure Thu Jan 30 15:08:30 2003 +@@ -2813,7 +2813,7 @@ + fi + else + if test "$GCC" = yes; then +- CFLAGS="-O2" ++ CFLAGS="" + else + CFLAGS= + fi +@@ -3220,7 +3220,7 @@ + CFLAGS="-g -O2 $CFLAGS" + fi + else +- CFLAGS="-O2 $CFLAGS" ++ CFLAGS="$CFLAGS" + fi + fi + +@@ -3462,7 +3462,7 @@ + fi + else + if test "$GXX" = yes; then +- CXXFLAGS="-O2" ++ CXXFLAGS="" + else + CXXFLAGS= + fi +@@ -3811,7 +3811,7 @@ + if test "$CXX" = "KCC"; then + CXXFLAGS="+K3 $CXXFLAGS" + else +- CXXFLAGS="-O2 $CXXFLAGS" ++ CXXFLAGS="$CXXFLAGS" + fi + fi + fi diff --git a/x11/kdelibs4/files/patch-configure b/x11/kdelibs4/files/patch-configure new file mode 100644 index 000000000000..6ddc066122cd --- /dev/null +++ b/x11/kdelibs4/files/patch-configure @@ -0,0 +1,38 @@ +--- configure.orig Thu Jan 30 15:08:09 2003 ++++ configure Thu Jan 30 15:08:30 2003 +@@ -2813,7 +2813,7 @@ + fi + else + if test "$GCC" = yes; then +- CFLAGS="-O2" ++ CFLAGS="" + else + CFLAGS= + fi +@@ -3220,7 +3220,7 @@ + CFLAGS="-g -O2 $CFLAGS" + fi + else +- CFLAGS="-O2 $CFLAGS" ++ CFLAGS="$CFLAGS" + fi + fi + +@@ -3462,7 +3462,7 @@ + fi + else + if test "$GXX" = yes; then +- CXXFLAGS="-O2" ++ CXXFLAGS="" + else + CXXFLAGS= + fi +@@ -3811,7 +3811,7 @@ + if test "$CXX" = "KCC"; then + CXXFLAGS="+K3 $CXXFLAGS" + else +- CXXFLAGS="-O2 $CXXFLAGS" ++ CXXFLAGS="$CXXFLAGS" + fi + fi + fi |