is enabled on in base; except for gcc 3.3, which does not have PIE support and therefore needs to pass -nopie to the linker. Also, sync powerpc pthread specs with base. From Brad. ok naddy@
13 lines
371 B
Plaintext
13 lines
371 B
Plaintext
$OpenBSD: patch-gcc_defaults_h,v 1.1 2012/09/01 00:00:32 pascal Exp $
|
|
--- gcc/defaults.h.orig Thu Aug 30 11:08:33 2012
|
|
+++ gcc/defaults.h Thu Aug 30 11:08:51 2012
|
|
@@ -607,4 +607,8 @@ You Lose! You must define PREFERRED_DEBUGGING_TYPE!
|
|
#define EXTRA_ADDRESS_CONSTRAINT(C) 0
|
|
#endif
|
|
|
|
+#ifndef PIE_DEFAULT
|
|
+#define PIE_DEFAULT 0
|
|
+#endif
|
|
+
|
|
#endif /* ! GCC_DEFAULTS_H */
|