X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2Fcommon_settings.mk;h=2f6fa8f4d867beb51f4376bcddb06c4f9ec84f39;hb=98bd9c0c8985c50c42231c116a4e18fedd47761e;hp=e6f9231ed5f9b724b06052139cfed37c6cd47e66;hpb=58034f56ab8478b9524c3f09cdf9f93fcb439691;p=tpg%2Facess2.git diff --git a/Usermode/common_settings.mk b/Usermode/common_settings.mk index e6f9231e..2f6fa8f4 100644 --- a/Usermode/common_settings.mk +++ b/Usermode/common_settings.mk @@ -5,6 +5,7 @@ CPPFLAGS += -I$(ACESSUSERDIR)/include/ -DARCHDIR_is_$(ARCHDIR) CPPFLAGS += -I $(ACESSDIR)/Externals/Output/$(ARCHDIR)/include CFLAGS += -std=gnu99 -g LDFLAGS += -L $(ACESSDIR)/Externals/Output/$(ARCHDIR)/lib +LDFLAGS += -L $(OUTPUTDIR)Libs CRTI := $(OUTPUTDIR)Libs/crti.o CRTBEGIN := $(shell $(CC) $(CFLAGS) -print-file-name=crtbegin.o 2>/dev/null)