summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorben-duo <ben@duosecurity.com>2014-03-10 19:50:38 -0400
committerben-duo <ben@duosecurity.com>2014-03-10 19:50:38 -0400
commitdf5b23373d9dec216116031c4ca0420f2c511a8d (patch)
treea0a44c73befb4c79a0ffd158cc4f16e8b60138a5
parentb36342387ca8e629b469d2a7f5c22a0083f7a5fc (diff)
parentb569ff239d169d2aff49d72fe58661d41b714d5c (diff)
downloadopenvpn-duo-plugin-df5b23373d9dec216116031c4ca0420f2c511a8d.tar.gz
openvpn-duo-plugin-df5b23373d9dec216116031c4ca0420f2c511a8d.zip
Merge pull request #5 from apeiron/topic/apeiron/fix-compiler-invocation
Compilation is more portable by not calling gcc
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index fd03d33..24ebb6d 100644
--- a/Makefile
+++ b/Makefile
@@ -8,10 +8,10 @@ endif
all: duo_openvpn.so
duo_openvpn.o: duo_openvpn.c
- gcc $(CFLAGS) -fPIC -c duo_openvpn.c
+ cc $(CFLAGS) -fPIC -c duo_openvpn.c
duo_openvpn.so: duo_openvpn.o
- gcc -fPIC -shared -Wl,-soname,duo_openvpn.so -o duo_openvpn.so duo_openvpn.o -lc
+ cc -fPIC -shared -Wl,-soname,duo_openvpn.so -o duo_openvpn.so duo_openvpn.o -lc
install: duo_openvpn.so
mkdir -p /opt/duo