Unset $CFLAGS for "GNU non-executable stack" configure test; fixes #3889
authorIan Lynagh <igloo@earth.li>
Fri, 21 May 2010 16:50:05 +0000 (16:50 +0000)
committerIan Lynagh <igloo@earth.li>
Fri, 21 May 2010 16:50:05 +0000 (16:50 +0000)
commitf1f6fd217bb1f094b5c99ca413bcce79d32f0847
tree29eb4d66442472697a5eca19fed0b9e0ef16462b
parent5dce9c83865ab0dacb7f8414f6ff87e8d6c184ba
Unset $CFLAGS for "GNU non-executable stack" configure test; fixes #3889
With gcc 4.4 we get
    Error: can't resolve `.note.GNU-stack' {.note.GNU-stack section} - `.Ltext0' {.text section}
when running gcc with the -g flag. To work around this we unset
CFLAGS when running the test.
configure.ac