| Summary: | mysqlcc ebuild: CFLAGS/CXXFLAGS in Makefile are not replaced with the flags from make.conf | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | David Peter <davidpeter> |
| Component: | New packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
Fixed in portage, also makred x86 stable. Thanks for the report. |
There is a error in the mysqlcc-0.9.2.ebuild. The CFLAGS/CXXFLAGS in the Makefile will not be replaced with the flags from /etc/make.conf. I hope the following patch will fix this: --- /usr/portage/dev-db/mysqlcc/mysqlcc-0.9.2.ebuild 2003-05-09 17:27:14.000000000 +0200 +++ /usr/local/portage/dev-db/mysqlcc/mysqlcc-0.9.2.ebuild 2003-08-15 17:15:45.000000000 +0200 @@ -44,8 +44,8 @@ QMAKESPEC="linux-g++" LIBS=${LIBS} econf --with-qt=${QTDIR} || die cp Makefile Makefile.orig - sed -e "s:CFLAGS = -pipe -Wall -W -g:CFLAGS = ${CFLAGS}:" \ - -e "s:CXXFLAGS = -pipe -Wall -W -g:CXXFLAGS = ${CXXFLAGS}:" \ + sed -e "s:CFLAGS = -pipe -Wall -W -O2:CFLAGS = ${CFLAGS}:" \ + -e "s:CXXFLAGS = -pipe -Wall -W -O2:CXXFLAGS = ${CXXFLAGS}:" \ Makefile.orig > Makefile QTDIR=$QTDIR Reproducible: Always Steps to Reproduce: 1. emerge mysqlcc 2. look at the compiler flags Actual Results: It uses the flags from the original Makefile Expected Results: It should use the flags from /etc/make.conf