We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be07dc3 commit 476f3b4Copy full SHA for 476f3b4
judge/Makefile
@@ -13,14 +13,12 @@ judgehost: $(TARGETS) $(SUBST_FILES)
13
$(SUBST_FILES): %: %.in $(TOPDIR)/paths.mk
14
$(substconfigvars)
15
16
-runguard: LDFLAGS := $(filter-out -pie,$(LDFLAGS))
17
-
18
-runguard: -lm $(LIBCGROUP)
19
-runguard$(OBJEXT): $(TOPDIR)/etc/runguard-config.h
20
21
evict: evict.c $(LIBHEADERS) $(LIBSOURCES)
22
$(CC) $(CFLAGS) -o $@ $< $(LIBSOURCES)
23
+runguard: runguard.cc $(LIBHEADERS) $(LIBSOURCES) $(TOPDIR)/etc/runguard-config.h
+ $(CXX) $(CXXFLAGS) -o $@ $< $(LIBSOURCES) $(LIBCGROUP)
+
24
runpipe: runpipe.cc $(LIBHEADERS) $(LIBSOURCES)
25
$(CXX) $(CXXFLAGS) -static -o $@ $< $(LIBSOURCES)
26
judge/runguard.c renamed to judge/runguard.cc
0 commit comments