mirror of
git://git.code.sf.net/p/sbcl/sbcl
synced 2026-09-10 07:26:40 -04:00
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:
parent
5fd3a60e7f
commit
a61d893a7f
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 ,$@ $@
|
||||
|
|
|
|||
Loading…
Reference in a new issue