mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-27 05:44:15 +08:00
configure.in (FLAGS_FOR_TARGET): Use $target_configdirs and $targargs to tell whether newlib is going to be built.
* configure.in (FLAGS_FOR_TARGET): Use $target_configdirs and $targargs to tell whether newlib is going to be built. From-SVN: r35969
This commit is contained in:
parent
db310af088
commit
7965440a9b
@ -1,5 +1,8 @@
|
||||
2000-08-25 Alexandre Oliva <aoliva@redhat.com>
|
||||
|
||||
* configure.in (FLAGS_FOR_TARGET): Use $target_configdirs and
|
||||
$targargs to tell whether newlib is going to be built.
|
||||
|
||||
* configure.in [disable-libstdcxx-v3] (libstdcxx_flags): Search
|
||||
$$r/TARGET_SUBDIR/libio for _G_config.h.
|
||||
|
||||
|
@ -1235,6 +1235,10 @@ FLAGS_FOR_TARGET=
|
||||
case " $skipdirs " in
|
||||
*" target-newlib "*) ;;
|
||||
*)
|
||||
case " $target_configdirs " in
|
||||
*" newlib "*)
|
||||
case " $targargs " in
|
||||
*" --with-newlib "*)
|
||||
case "$target" in
|
||||
*-cygwin*)
|
||||
FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -L$$r/$(TARGET_SUBDIR)/winsup/w32api/lib -isystem $$s/winsup/include -isystem $$s/winsup/cygwin/include -isystem $$s/winsup/w32api/include -isystem $$s/newlib/libc/sys/cygwin -isystem $$s/newlib/libc/sys/cygwin32' ;;
|
||||
@ -1252,6 +1256,10 @@ case " $skipdirs " in
|
||||
# switch).
|
||||
FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
|
||||
# On Canadian crosses, we'll be searching the right directories for
|
||||
|
Loading…
Reference in New Issue
Block a user