From 85705d923afe021a06bba99e347fd04c0a5a117d Mon Sep 17 00:00:00 2001 From: Jan Klemkow Date: Mon, 19 Nov 2012 02:20:01 +0100 Subject: Add compile options for OpenBSD current. --- BSDmakefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/BSDmakefile b/BSDmakefile index 650d0cf..229580d 100644 --- a/BSDmakefile +++ b/BSDmakefile @@ -1,4 +1,6 @@ -all: pd_server tit4tat prisoners_dilemma +GPLCFLAGS=-C '-fno-pie' -L '-nopie' + +all: pd_server tit4tat prisoners_dilemma battle tit4tat: tit4tat.c gcc -std=c99 -Wall -o $@ $< @@ -7,10 +9,10 @@ pd_server: pd_server.c gcc -o $@ $> prisoners_dilemma: prisoners_dilemma.pl - gplc -o $@ $> + gplc ${GPLCFLAGS} -o $@ $> battle: battle.c pay.pl - gplc $> + gplc ${GPLCFLAGS} $> clean: rm -f tit4tat prisoners_dilemma battle -- cgit