aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar zfl9 <zfl9.com@gmail.com> 2020-03-07 15:49:22 +0800
committerGravatar zfl9 <zfl9.com@gmail.com> 2020-03-07 15:49:22 +0800
commit22111ebe59072fccaf70dfe341306a7cb6566ec4 (patch)
treee9a499be3cf94340daf76046e650f04b1ed25fcb
parentuse libev instead of libuv (diff)
downloaddns2tcp-22111ebe59072fccaf70dfe341306a7cb6566ec4.tar.gz
dns2tcp-22111ebe59072fccaf70dfe341306a7cb6566ec4.tar.bz2
dns2tcp-22111ebe59072fccaf70dfe341306a7cb6566ec4.zip
remove `-no-pie` gcc option
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 7267c36..48abc2f 100644
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,12 @@
CC = gcc
-CFLAGS = -std=c99 -Wall -Wextra -O2 -no-pie
+CFLAGS = -std=c99 -Wall -Wextra -O2
LIBS = -lm
SRCS = dns2tcp.c
OBJS = $(SRCS:.c=.o)
MAIN = dns2tcp
DESTDIR = /usr/local/bin
-EVCFLAGS = -w -O2 -no-pie
+EVCFLAGS = -w -O2
EVSRCFILE = libev/ev.c
EVOBJFILE = ev.o