forked from mirrors/nixpkgs
we need this patch (the famous "-Dinhibit_libc hack") to get stuff compiled
properly svn path=/nixpkgs/trunk/; revision=4315
This commit is contained in:
parent
d68e567fe3
commit
3f3636a403
12
pkgs/development/compilers/gcc-4.0-arm/gcc-inhibit.patch
Normal file
12
pkgs/development/compilers/gcc-4.0-arm/gcc-inhibit.patch
Normal file
|
@ -0,0 +1,12 @@
|
|||
diff -ruN gcc-4.0.2/gcc/Makefile.in gcc-4.0.2.new/gcc/Makefile.in
|
||||
--- gcc-4.0.2/gcc/Makefile.in 2005-09-09 23:05:39.000000000 +0200
|
||||
+++ gcc-4.0.2.new/gcc/Makefile.in 2005-11-04 20:33:49.000000000 +0100
|
||||
@@ -745,7 +745,7 @@
|
||||
# IN_GCC distinguishes between code compiled into GCC itself and other
|
||||
# programs built during a bootstrap.
|
||||
# autoconf inserts -DCROSS_COMPILE if we are building a cross compiler.
|
||||
-INTERNAL_CFLAGS = -DIN_GCC @CROSS@
|
||||
+INTERNAL_CFLAGS = -DIN_GCC @CROSS@ -Dinhibit_libc -D__gthr_posix_h
|
||||
|
||||
# This is the variable actually used when we compile. If you change this,
|
||||
# you probably want to update BUILD_CFLAGS in configure.ac
|
Loading…
Reference in a new issue