Skip to content

Commit

Permalink
Fix build on Ubuntu & derivatives
Browse files Browse the repository at this point in the history
  • Loading branch information
Spydr06 committed Feb 12, 2024
1 parent cad5936 commit cffa67d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/compiler/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ VERSION_HEADER := version.h

$(CSPC): $(OBJECTS)
@$(MKDIR) -p $(@D)
$(LD) $(LDFLAGS) $^ -o $@
$(LD) $^ -o $@ $(LDFLAGS)

$(LIBCSPC): $(OBJECTS)
@$(MKDIR) -p $(@D)
Expand Down
2 changes: 1 addition & 1 deletion src/linter/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ OBJECTS := $(patsubst %, $(BUILD_PREFIX)/linter/%.o, $(SOURCES))

$(CSP_LINT): $(OBJECTS)
@$(MKDIR) -p $(@D)
$(LD) $(LDFLAGS) $(LIBCSPC) $^ -o $@
$(LD) $(LIBCSPC) $^ -o $@ $(LDFLAGS)

$(BUILD_PREFIX)/linter/%.c.o: %.c
@$(MKDIR) -p $(@D)
Expand Down

0 comments on commit cffa67d

Please sign in to comment.