patches/gcc/4.4.4/160-netbsd-symbolic.patch
author Thomas De Schampheleire <patrickdepinguin+buildroot@gmail.com>
Sat Jul 14 19:52:58 2012 +0200 (2012-07-14)
changeset 2998 7b1dda3ab075
parent 1948 d341be24dc68
permissions -rw-r--r--
kconfig: fix compatibility with older flex versions

Older flex versions require there be no space between options and
their arguments. For example '-P zconf' is not correct and should
be '-Pzconf'. This is for example the case for flex-2.5.4 shipped
with CentOS 5.8.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Message-Id: <9652ce148bddc1def484.1339241000@beantl019720>
yann@1948
     1
diff -durN gcc-4.4.4.orig/gcc/config/netbsd-elf.h gcc-4.4.4/gcc/config/netbsd-elf.h
yann@1948
     2
--- gcc-4.4.4.orig/gcc/config/netbsd-elf.h	2007-09-03 18:14:04.000000000 +0200
yann@1948
     3
+++ gcc-4.4.4/gcc/config/netbsd-elf.h	2010-05-16 19:11:50.000000000 +0200
yann@1948
     4
@@ -82,6 +82,7 @@
yann@1948
     5
 #define NETBSD_LINK_SPEC_ELF \
yann@1948
     6
   "%{assert*} %{R*} %{rpath*} \
yann@1948
     7
    %{shared:-shared} \
yann@1948
     8
+   %{symbolic:-Bsymbolic} \
yann@1948
     9
    %{!shared: \
yann@1948
    10
      -dc -dp \
yann@1948
    11
      %{!nostdlib: \