Skip to content

Commit

Permalink
call the specs used by bake "specs-bake" instead of "specs-final"
Browse files Browse the repository at this point in the history
  • Loading branch information
anttikantee committed Jun 24, 2015
1 parent ec8c9e4 commit e90b9fd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app-tools/Makefile.app-tools
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions app-tools/cc.in
Expand Up @@ -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}
;;
Expand Down
File renamed without changes.

0 comments on commit e90b9fd

Please sign in to comment.