diff options
Diffstat (limited to 'automake/compile.am')
-rw-r--r-- | automake/compile.am | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/automake/compile.am b/automake/compile.am index a6c340c28b..0a7a5a7422 100644 --- a/automake/compile.am +++ b/automake/compile.am @@ -275,6 +275,7 @@ RTEMS_CFLAGS__V = $(RTEMS_CFLAGS_OPTIMIZE_V) ## FIXME: This will probably vanish, when GNU canonicalization will be ## introduced +if RTEMS_CANONICALIZATION CC = $(CC_FOR_TARGET) $(GCCSPECS) CXX = $(CXX_FOR_TARGET) $(GCCSPECS) @@ -294,6 +295,10 @@ SIZE_FOR_TARGET = @SIZE_FOR_TARGET@ SIZE = $(SIZE_FOR_TARGET) STRIP_FOR_TARGET = @STRIP_FOR_TARGET@ STRIP = $(STRIP_FOR_TARGET) +else +CC = @CC@ $(GCCSPECS) +CXX = @CXX@ $(GCCSPECS) +endif ## ## FIXME: DEFS and INCLUDES should not be passed as AM_CPPFLAGS |