Skip to content

Commit 476f3b4

Browse files
committed
1 parent be07dc3 commit 476f3b4

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

judge/Makefile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,12 @@ judgehost: $(TARGETS) $(SUBST_FILES)
1313
$(SUBST_FILES): %: %.in $(TOPDIR)/paths.mk
1414
$(substconfigvars)
1515

16-
runguard: LDFLAGS := $(filter-out -pie,$(LDFLAGS))
17-
18-
runguard: -lm $(LIBCGROUP)
19-
runguard$(OBJEXT): $(TOPDIR)/etc/runguard-config.h
20-
2116
evict: evict.c $(LIBHEADERS) $(LIBSOURCES)
2217
$(CC) $(CFLAGS) -o $@ $< $(LIBSOURCES)
2318

19+
runguard: runguard.cc $(LIBHEADERS) $(LIBSOURCES) $(TOPDIR)/etc/runguard-config.h
20+
$(CXX) $(CXXFLAGS) -o $@ $< $(LIBSOURCES) $(LIBCGROUP)
21+
2422
runpipe: runpipe.cc $(LIBHEADERS) $(LIBSOURCES)
2523
$(CXX) $(CXXFLAGS) -static -o $@ $< $(LIBSOURCES)
2624

File renamed without changes.

0 commit comments

Comments
 (0)