spack/var
Mark W. Krentel 2f84db881b ncurses: fix pic and opt flags (#12272)
Resolves #11932.

Move the PIC flags from CFLAGS on the configure line to the spack
compiler wrapper for ncurses.  The problem with the configure line for
autotools is that specifying CFLAGS sets the entire flags, thus
deleting the flags that configure would add itself.

By default, if CFLAGS is unspecified, then configure picks a sensible
default of `-g -O2`.  But adding `-fPIC` erases these and it ends up
building unoptimized.
2019-08-06 22:21:25 -05:00
..
spack ncurses: fix pic and opt flags (#12272) 2019-08-06 22:21:25 -05:00