diff options
author | adam <adam@pkgsrc.org> | 2017-07-05 10:17:01 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2017-07-05 10:17:01 +0000 |
commit | 16550bf29ecb7dc1f24f36b176c8fba22cce5117 (patch) | |
tree | d92f2e3366d17b158a5e48563f16da19624c8617 /lang/gcc7/patches | |
parent | 37ad7486d45b3cdaa72dab675c9dbbec08d47a86 (diff) | |
download | pkgsrc-16550bf29ecb7dc1f24f36b176c8fba22cce5117.tar.gz |
On Darwin you must not have duplicate symbols
Diffstat (limited to 'lang/gcc7/patches')
-rw-r--r-- | lang/gcc7/patches/patch-libgcc_config_i386_cpuinfo.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/gcc7/patches/patch-libgcc_config_i386_cpuinfo.h b/lang/gcc7/patches/patch-libgcc_config_i386_cpuinfo.h index cc0ef3624e0..0c021a501b5 100644 --- a/lang/gcc7/patches/patch-libgcc_config_i386_cpuinfo.h +++ b/lang/gcc7/patches/patch-libgcc_config_i386_cpuinfo.h @@ -1,4 +1,4 @@ -$NetBSD: patch-libgcc_config_i386_cpuinfo.h,v 1.2 2017/05/14 02:38:03 maya Exp $ +$NetBSD: patch-libgcc_config_i386_cpuinfo.h,v 1.3 2017/07/05 10:17:01 adam Exp $ ifdef out extern for GCC bug #80600, with the same condition as cpuinfo.c. removing triggers GCC bug #65612 @@ -10,7 +10,7 @@ cpuinfo.c. removing triggers GCC bug #65612 }; -extern struct __processor_model -+#if defined SHARED && defined USE_ELF_SYMVER ++#if defined(__APPLE__) || (defined SHARED && defined USE_ELF_SYMVER) +extern +#endif +struct __processor_model |