Browse Source

coreutils: fixed our hostcc_make_prime_list() to add -I$root$includedir when compiling 'make_prime_list' at toolchain stage

user/chris/wip/musl
Christian Wiese 12 years ago
parent
commit
00e44eaeb1
  1. 4
      base/coreutils/coreutils.conf

4
base/coreutils/coreutils.conf

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../coreutils/coreutils.conf
# Copyright (C) 2006 - 2012 The OpenSDE Project
# Copyright (C) 2006 - 2013 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf
#
@ -21,7 +21,7 @@ hostcc_make_prime_list() {
sed -e '/src_make_prime_list/d' \
-e '/hostname.1/d' Makefile.orig > Makefile
depbase=`echo src/make-prime-list.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
$HOSTCC -std=gnu99 -I. -I./lib -Ilib -I./lib -Isrc -I./src \
$HOSTCC -std=gnu99 -I. -I./lib -Ilib -I./lib -Isrc -I./src -I$root$includedir \
-fdiagnostics-show-option -funit-at-a-time -g -O2 -MT \
src/make-prime-list.o -MD -MP -MF $depbase.Tpo -c -o src/make-prime-list.o \
src/make-prime-list.c &&

Loading…
Cancel
Save