Closed GoogleCodeExporter closed 9 years ago
OK, thanks for report.
I never tested with an exported null CFLAG, and wasn't aware that it could
happen.
Would you mind describing in which case this is a valid situation ?
Original comment by yann.col...@gmail.com
on 13 Mar 2014 at 9:28
Issue is when the CFLAGS var is set (empty or not). The archlinux build system
define this variable with something like "-march=x86-64 -mtune=generic -O2
-pipe -fstack-protector --param=ssp-buffer-size=4".
Original comment by sebastien.luttringer
on 13 Mar 2014 at 9:55
OK, clear,
maybe we simply need to store -I.. into another variable,
such as, for example, LDFLAGS ?
Original comment by yann.col...@gmail.com
on 13 Mar 2014 at 10:00
Original comment by yann.col...@gmail.com
on 13 Mar 2014 at 10:01
LDFLAGS should follow the same inherit logic as you use for CFLAGS. This
variable is for linker.
I would suggest to put -I.. and -I. directly inside the makefile line, not in a
variable. This is not something you want to be overridden.
Original comment by sebastien.luttringer
on 13 Mar 2014 at 10:07
OK, thanks. I'll use your suggestion.
Original comment by yann.col...@gmail.com
on 13 Mar 2014 at 10:08
The following release candidate attempts to correct the export CFLAGS issue.
Tested using your example configuration steps.
Original comment by yann.col...@gmail.com
on 13 Mar 2014 at 10:35
Attachments:
No more build error with this version, but symlinks are not correct.
Original comment by sebastien.luttringer
on 18 Mar 2014 at 11:01
Fixed into r115
Original comment by yann.col...@gmail.com
on 23 Mar 2014 at 11:17
Original issue reported on code.google.com by
sebastien.luttringer
on 13 Mar 2014 at 12:41