~mcf/cproc

ab3946c6801be3520beeb79f5500ed1a944d4667 — Michael Forney 6 days ago 49ebef5 master
configure: Undefine __PIC__

QBE doesn't emit position-independent code, so we don't want __PIC__
defined if the preprocessor does by default.
1 files changed, 3 insertions(+), 0 deletions(-)

M configure
M configure => configure +3 -0
@@ 151,6 151,9 @@ static const char *const preprocesscmd[] = {
	"-D", "__STDC_NO_VLA__",
	"-U", "__SIZEOF_INT128__",

	/* we don't generate position-independent code */
	"-U", "__PIC__",

	/* ignore attributes and extension markers */
	"-D", "__attribute__(x)=",
	"-D", "__extension__=",