X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=ginge.git;a=blobdiff_plain;f=loader%2FMakefile;h=85c25bacb0dde2b042f3e77f80dc241948773748;hp=f326814b3c90e25f26eef4f553e76e3c9eea08c6;hb=d5a3e1bccc54036e8b659f22dc704fa257f5734d;hpb=7868435641e4209e956a591ff0844afc14f83f16 diff --git a/loader/Makefile b/loader/Makefile index f326814..85c25ba 100644 --- a/loader/Makefile +++ b/loader/Makefile @@ -47,6 +47,7 @@ all: $(TARGET_S) $(TARGET_D) $(TARGET_S): LDFLAGS += -Wl,-T script_$(ARCH).lds $(TARGET_D): LDFLAGS += -ldl -Wl,--version-script=ginge_dyn.symver +$(TARGET_D): LDFLAGS += -Wl,--no-undefined $(TARGET_S): $(OBJ_S) $(CC) -o $@ $^ -static $(LDFLAGS)