As detailed in https://wiki.ubuntu.com/ToolChain/CompilerFlags gcc in
Ubuntu defaults to compiling with -fPIE in CFLAGS and -Wl,-pie for -pie
in the linker flags. As also detailed on that page, you can disable this
by compiling with:
CFLAGS="-fno-PIE -Wl,-no-pie"
** Changed in: gcc-7 (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1837881
Title:
error in gcc / g++ specs : '-pie' always added
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-7/+bug/1837881/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs