From e90b9fd724aa675905ca9dc5042f9fea6bb9af55 Mon Sep 17 00:00:00 2001 From: Antti Kantee Date: Wed, 24 Jun 2015 10:23:21 +0000 Subject: [PATCH] call the specs used by bake "specs-bake" instead of "specs-final" --- app-tools/Makefile.app-tools | 2 +- app-tools/cc.in | 6 +++--- app-tools/{specs-final.in => specs-bake.in} | 0 3 files changed, 4 insertions(+), 4 deletions(-) rename app-tools/{specs-final.in => specs-bake.in} (100%) diff --git a/app-tools/Makefile.app-tools b/app-tools/Makefile.app-tools index cc4baa98f..214de0e9e 100644 --- a/app-tools/Makefile.app-tools +++ b/app-tools/Makefile.app-tools @@ -12,7 +12,7 @@ $(error ${_APPTOOLS_MISSING} not defined) endif APP_TOOL_FILES= cc c++ configure make gmake -APP_TOOL_FILES+= specs-inter specs-stub specs-final +APP_TOOL_FILES+= specs-inter specs-stub specs-bake APP_TOOL_PASSTHROUGH= ar as cpp ld nm objcopy objdump ranlib readelf APP_TOOL_PASSTHROUGH+= size strings strip diff --git a/app-tools/cc.in b/app-tools/cc.in index 7e22468aa..76c017221 100755 --- a/app-tools/cc.in +++ b/app-tools/cc.in @@ -75,14 +75,14 @@ done case ${MODE} in compile) # If we're compiling we don't really care which specs get used, might - # as well use the -final ones. + # as well use the -bake ones. exec ${CC} ${CFLAGS} -no-integrated-cpp \ - -specs=!APPTOOLS!/rumprun-!APPTOOLS_PLATFORM!-specs-final \ + -specs=!APPTOOLS!/rumprun-!APPTOOLS_PLATFORM!-specs-bake \ "$@" ${EXTRALIBS} ;; bake) exec ${CC} ${CFLAGS} -no-integrated-cpp \ - -specs=!APPTOOLS!/rumprun-!APPTOOLS_PLATFORM!-specs-final \ + -specs=!APPTOOLS!/rumprun-!APPTOOLS_PLATFORM!-specs-bake \ -Wl,--defsym=__RuMpRuN_baked__=0 \ "$@" ${EXTRALIBS} ;; diff --git a/app-tools/specs-final.in b/app-tools/specs-bake.in similarity index 100% rename from app-tools/specs-final.in rename to app-tools/specs-bake.in