FS#30535 - mysql: purpose to set CFLAGS/CXXFLAGS but didn't work
Attached to Project:
Arch Linux
Opened by Lee.MaRS (leemars) - Wednesday, 04 July 2012, 12:09 GMT
Last edited by Andrea Scarpino (BaSh) - Wednesday, 04 July 2012, 13:20 GMT
Opened by Lee.MaRS (leemars) - Wednesday, 04 July 2012, 12:09 GMT
Last edited by Andrea Scarpino (BaSh) - Wednesday, 04 July 2012, 13:20 GMT
|
Details
Description:
In PKGBUILD of package mysql, I found this bug: > # CFLAGS/CXXFLAGS as suggested upstream > CFLAGS="-fPIC ${CFLAGS} -fno-strict-aliasing -DBIG_JOINS=1 -fomit-frame-pointer" \ > CXXFLAGS="-fPIC ${CXXFLAGS} -fno-strict-aliasing -DBIG_JOINS=1 -felide-constructors -fno-rtti" \ > > cmake ../${pkgbase}-${pkgver} \ The space line makes the CFLAGS and CXXFLAGS ignored in later cmake. |
This task depends upon
Closed by Andrea Scarpino (BaSh)
Wednesday, 04 July 2012, 13:20 GMT
Reason for closing: Fixed
Additional comments about closing: On trunk
Wednesday, 04 July 2012, 13:20 GMT
Reason for closing: Fixed
Additional comments about closing: On trunk
EDIT: Fixed on trunk.
Anyway I guess the proper way is to set them using the cmake option.