Re: [PATCH] Malformed g++ flags
Le mercredi 10 décembre 2008 à 02:38 -0200, Han-Wen Nienhuys a écrit : > LGTM Done (with the correct sed regexp). John ___ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel
Re: [PATCH] Malformed g++ flags
On Sun, Dec 7, 2008 at 8:29 PM, John Mandereau <[EMAIL PROTECTED]> wrote: > Hello, > > With current Git master C++ flags are incorrect on my system: > > cp -p /home/lilydev/git/lily/master/config.hh out/config.hh > rm -f ./out/all-font-metrics.dep; > DEPENDENCIES_OUTPUT="./out/all-font-metrics.dep ./out/all-font-metrics.o" g++ > -c -Woverloaded-virtual -I/usr/include/python2.5 -I/usr/include/python2.5 > -fno-strict-aliasing -g -pipe,-D_FORTIFY_SOURCE=2 -fexceptions > -fstack-protector --param=ssp-buffer-size=4 -fPIC -DHAVE_CONFIG_H -DNDEBUG > -I./include -I./out -I../flower/include -I../flower/./out -I../flower/include > -O2 -finline-functions -g -pipe -pthread -I/usr/include/freetype2 > -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 > -I/usr/lib64/glib-2.0/include -Wno-pmf-conversions -W -Wall -Wconversion > -o out/all-font-metrics.o all-font-metrics.cc > g++: unrecognized option '-pipe,-D_FORTIFY_SOURCE=2' > > > The following patch fixes it for me; is it OK to apply? LGTM -- Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen ___ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel
Re: [PATCH] Malformed g++ flags
Le dimanche 07 décembre 2008 à 23:29 +0100, John Mandereau a écrit : > With current Git master C++ flags are incorrect on my system: > > cp -p /home/lilydev/git/lily/master/config.hh out/config.hh > rm -f ./out/all-font-metrics.dep; > DEPENDENCIES_OUTPUT="./out/all-font-metrics.dep ./out/all-font-metrics.o" g++ > -c -Woverloaded-virtual -I/usr/include/python2.5 -I/usr/include/python2.5 > -fno-strict-aliasing -g -pipe,-D_FORTIFY_SOURCE=2 -fexceptions > -fstack-protector --param=ssp-buffer-size=4 -fPIC -DHAVE_CONFIG_H -DNDEBUG > -I./include -I./out -I../flower/include -I../flower/./out -I../flower/include > -O2 -finline-functions -g -pipe -pthread -I/usr/include/freetype2 > -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 > -I/usr/lib64/glib-2.0/include -Wno-pmf-conversions -W -Wall -Wconversion > -o out/all-font-metrics.o all-font-metrics.cc > g++: unrecognized option '-pipe,-D_FORTIFY_SOURCE=2' > > > The following patch fixes it for me; is it OK to apply? Sorry, the patch I sent had an incorrect regular expression: I meant = diff --git a/stepmake/aclocal.m4 b/stepmake/aclocal.m4 index 9e386f3..77074a6 100644 --- a/stepmake/aclocal.m4 +++ b/stepmake/aclocal.m4 @@ -956,7 +956,7 @@ AC_DEFUN(STEPMAKE_PYTHON_DEVEL, [ if test -z "$PYTHON_CFLAGS" -a "$PYTHON_CONFIG" != "no"; then # Clean out junk: http://bugs.python.org/issue3290 # Python headers may need some -f* flags, leave them in. - PYTHON_CFLAGS=`$PYTHON_CONFIG --cflags | sed -e 's/ -\(W\|D\|O\|m\)\(\w\|-\|=\)\+//g'` + PYTHON_CFLAGS=`$PYTHON_CONFIG --cflags | sed -e 's/ -\(W\|D\|O\|m\)\(\w\|-\|=\|,\)\+//g'` PYTHON_LDFLAGS=`$PYTHON_CONFIG --ldflags` fi John ___ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel
[PATCH] Malformed g++ flags
Hello, With current Git master C++ flags are incorrect on my system: cp -p /home/lilydev/git/lily/master/config.hh out/config.hh rm -f ./out/all-font-metrics.dep; DEPENDENCIES_OUTPUT="./out/all-font-metrics.dep ./out/all-font-metrics.o" g++ -c -Woverloaded-virtual -I/usr/include/python2.5 -I/usr/include/python2.5 -fno-strict-aliasing -g -pipe,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fPIC -DHAVE_CONFIG_H -DNDEBUG -I./include -I./out -I../flower/include -I../flower/./out -I../flower/include -O2 -finline-functions -g -pipe -pthread -I/usr/include/freetype2 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wno-pmf-conversions -W -Wall -Wconversion -o out/all-font-metrics.o all-font-metrics.cc g++: unrecognized option '-pipe,-D_FORTIFY_SOURCE=2' The following patch fixes it for me; is it OK to apply? diff --git a/stepmake/aclocal.m4 b/stepmake/aclocal.m4 index 9e386f3..107b577 100644 --- a/stepmake/aclocal.m4 +++ b/stepmake/aclocal.m4 @@ -956,7 +962,7 @@ AC_DEFUN(STEPMAKE_PYTHON_DEVEL, [ if test -z "$PYTHON_CFLAGS" -a "$PYTHON_CONFIG" != "no"; then # Clean out junk: http://bugs.python.org/issue3290 # Python headers may need some -f* flags, leave them in. - PYTHON_CFLAGS=`$PYTHON_CONFIG --cflags | sed -e 's/ -\(W\|D\|O\|m\)\(\w\|-\|=\)\+//g'` + PYTHON_CFLAGS=`$PYTHON_CONFIG --cflags | sed -e 's/ -\(W\|D\|O\|m\)\(\w\|-\|=\|,)\+//g'` PYTHON_LDFLAGS=`$PYTHON_CONFIG --ldflags` fi Cheers, John ___ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel