diff options
author | Chris Larson <clarson@kergoth.com> | 2003-10-02 19:38:31 +0000 |
---|---|---|
committer | Chris Larson <clarson@kergoth.com> | 2003-10-02 19:38:31 +0000 |
commit | 66b26446bfe6d0be8cd3e71aa512226ef8c47c1f (patch) | |
tree | de8d6d0938df520cd91d10eae10e955adcf53315 /cross | |
parent | 33e9dfddb87469986fb65ecf783e713d0e7e8818 (diff) |
Remove various sets of PN that existed to work around a parser bug that is now fixed.
BKrev: 3f7c7eb7RQmCNHUZNE23vEngtUAujQ
Diffstat (limited to 'cross')
-rw-r--r-- | cross/cross-gcc-initial-3.3.1.oe | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/cross/cross-gcc-initial-3.3.1.oe b/cross/cross-gcc-initial-3.3.1.oe index e69de29bb2..5ee0a8ad69 100644 --- a/cross/cross-gcc-initial-3.3.1.oe +++ b/cross/cross-gcc-initial-3.3.1.oe @@ -0,0 +1,15 @@ +include cross-gcc-${PV}.oe + +EXTRA_OECONF = --oldincludedir=${prefix}/include --enable-shared \ + --enable-languages=c \ + --disable-shared \ + --disable-threads + +do_configure_append () { + if (grep -q TARGET_LIBGCC2_CFLAGS ${tmake_file}); then + perl -pi -e 's/^(TARGET_LIBGCC2_CFLAGS.*)/$$1 -Dinhibit_libc -D__gthr_posix_h/' ${tmake_file} + else + echo 'TARGET_LIBGCC2_CFLAGS = -Dinhibit_libc -D__gthr_posix_h' >> ${tmake_file} + fi + echo 'T_CFLAGS = -Dinhibit_libc -D__gthr_posix_h' >> ${tmake_file} +} |