summaryrefslogtreecommitdiff
path: root/LICENSE-MIT
diff options
context:
space:
mode:
authorMark W. Krentel <krentel@rice.edu>2019-08-06 22:21:25 -0500
committerAdam J. Stewart <ajstewart426@gmail.com>2019-08-06 22:21:25 -0500
commit2f84db881bf93d428aed101edf84e9dfa649317a (patch)
tree262a3cb6540b5573cbc61badfa695d3278eab0c0 /LICENSE-MIT
parente077532baf2ce214c407cdecfdd025405a085b4d (diff)
downloadspack-2f84db881bf93d428aed101edf84e9dfa649317a.tar.gz
spack-2f84db881bf93d428aed101edf84e9dfa649317a.tar.bz2
spack-2f84db881bf93d428aed101edf84e9dfa649317a.tar.xz
spack-2f84db881bf93d428aed101edf84e9dfa649317a.zip
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.
Diffstat (limited to 'LICENSE-MIT')
0 files changed, 0 insertions, 0 deletions