PR rtl-optimization/87817
[official-gcc.git] / gcc / config / mips / t-sdemtk
blob0296321614d1969b44a5ead5236664c0c65ac063
1 # Copyright (C) 2007-2018 Free Software Foundation, Inc.
3 # This file is part of GCC.
5 # GCC is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 3, or (at your option)
8 # any later version.
10 # GCC is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with GCC; see the file COPYING3.  If not see
17 # <http://www.gnu.org/licenses/>.
19 # Override newlib settings in t-sde and set up for building
20 # against SDE header files and libraries.
22 MULTILIB_OPTIONS = EL/EB mips32/mips32r2/mips64/mips64r2 mips16 msoft-float/mno-float/mfp64
23 MULTILIB_DIRNAMES = el eb mips32 mips32r2 mips64 mips64r2 mips16 sof nof f64
24 MULTILIB_MATCHES = mips32r2=mips32r3 mips32r2=mips32r5 mips64r2=mips64r3 mips64r2=mips64r5
26 # Remove stdarg.h and stddef.h from USER_H.
27 USER_H = $(srcdir)/ginclude/float.h \
28          $(srcdir)/ginclude/iso646.h \
29          $(srcdir)/ginclude/stdbool.h \
30          $(srcdir)/ginclude/varargs.h \
31          $(EXTRA_HEADERS)
33 # Don't run fixinclude
34 STMP_FIXINC = stmp-sdefixinc
35 stmp-sdefixinc: gsyslimits.h
36         rm -rf include; mkdir include
37         chmod a+rx include
38         rm -f include/syslimits.h
39         cp $(srcdir)/gsyslimits.h include/syslimits.h
40         chmod a+r include/syslimits.h
41         $(STAMP) stmp-sdefixinc