Revert "build: leave a *.o file that has all of the startup code."

It breaks the build on multiple configurations.

This reverts commit f61d047c2d.
This commit is contained in:
Stas Boukarev 2015-10-18 18:52:09 +03:00
parent 5fd3a60e7f
commit a61d893a7f
2 changed files with 2 additions and 7 deletions

View file

@ -66,7 +66,6 @@ test -f "$BUILD_ROOT$SBCL_HOME"/sbcl.core && \
mv "$BUILD_ROOT$SBCL_HOME"/sbcl.core "$BUILD_ROOT$SBCL_HOME"/sbcl.core.old
cp src/runtime/$RUNTIME "$BUILD_ROOT$INSTALL_ROOT"/bin/
cp src/runtime/sbcl.o "$BUILD_ROOT$SBCL_HOME"/sbcl.o
cp output/sbcl.core "$BUILD_ROOT$SBCL_HOME"/sbcl.core
# installing contrib

View file

@ -21,7 +21,6 @@ LINKFLAGS = -g
NM = nm -gp
DEPEND_FLAGS = -MM
GREP = grep
LD = ld
include ../../output/prefix.def
@ -55,14 +54,11 @@ OBJS = $(C_SRC:.c=.o) $(ASSEM_SRC:.S=.o)
LIBS = ${OS_LIBS} -lm
targets: $(TARGET) $(OBJTARGET) sbcl.nm
targets: $(TARGET) sbcl.nm
$(TARGET): sbcl.o
$(TARGET): $(OBJS)
$(CC) ${LINKFLAGS} -o $@ $^ $(LIBS)
sbcl.o: $(OBJS)
$(LD) -r -o $@ $^
sbcl.nm: $(TARGET)
$(NM) $(TARGET) | $(GREP) -v " [FUw] " > ,$@
mv -f ,$@ $@