* Convert gcc48 to simple meta-pkg * Potentially fix non-NetBSD packaging * Fix gcc48-libs/gcc48-cc++ build under OpenBSD/amd64 5.5 * Enable graphite option, from wip/gcc48snapshot via Xiyue Deng * Tweak nls option Changelog: GCC 4.8.3 This is the [35]list of problem reports (PRs) from GCC's bug tracking system that are known to be fixed in the 4.8.3 release. This list might not be complete (that is, it is possible that some PRs that have been fixed are not listed here). Support for the new powerpc64le-linux platform has been added. It defaults to generating code that conforms to the ELFV2
32 lines
1 KiB
C
32 lines
1 KiB
C
$NetBSD: patch-gcc_config_openbsd.h,v 1.1 2014/05/31 13:06:25 ryoon Exp $
|
||
|
||
--- gcc/config/openbsd.h.orig 2013-01-10 20:38:27.000000000 +0000
|
||
+++ gcc/config/openbsd.h
|
||
@@ -108,9 +108,9 @@ while (0)
|
||
This two-stage defines makes it easy to pick that for targets that
|
||
have subspecs. */
|
||
#ifdef CPP_CPU_SPEC
|
||
-#define OBSD_CPP_SPEC "%(cpp_cpu) %{posix:-D_POSIX_SOURCE} %{pthread:-D_POSIX_THREADS}"
|
||
+#define OBSD_CPP_SPEC "%(cpp_cpu) %{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}"
|
||
#else
|
||
-#define OBSD_CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_POSIX_THREADS}"
|
||
+#define OBSD_CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}"
|
||
#endif
|
||
|
||
#undef LIB_SPEC
|
||
@@ -283,5 +283,15 @@ do { \
|
||
|
||
/* Storage layout. */
|
||
|
||
+/*
|
||
+ * Disable the use of unsafe builtin functions, (strcat, strcpy, stpcpy),
|
||
+ * making them easier to spot in the object files.
|
||
+ */
|
||
+#define NO_UNSAFE_BUILTINS
|
||
+
|
||
+/* The system headers on OpenBSD are C++-aware. */
|
||
+#undef NO_IMPLICIT_EXTERN_C
|
||
+#define NO_IMPLICIT_EXTERN_C
|
||
+
|
||
|
||
#define HAVE_ENABLE_EXECUTE_STACK
|