aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorHubert Chathi <hubert@uhoreg.ca>2020-05-19 15:09:15 -0400
committerHubert Chathi <hubert@uhoreg.ca>2020-05-19 15:10:24 -0400
commitefd17631b16d1271a029e0af8f7d8e5ae795cc5d (patch)
treee5ab6e5ad6f9f0bb809d1ca0b8510b7aec9b9731 /python
parentad173bc798c039bd4e855a25b99f15193bdb04c4 (diff)
move -o option before source files, for better compatibility with LLVM
Diffstat (limited to 'python')
-rw-r--r--python/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/Makefile b/python/Makefile
index 16f9823..6bba9cd 100644
--- a/python/Makefile
+++ b/python/Makefile
@@ -5,15 +5,15 @@ OLM_HEADERS = ../include/olm/olm.h ../include/olm/inbound_group_session.h \
include/olm/olm.h: $(OLM_HEADERS)
mkdir -p include/olm
- $(CPP) -I dummy -I ../include ../include/olm/olm.h -o include/olm/olm.h
+ $(CPP) -I dummy -I ../include -o include/olm/olm.h ../include/olm/olm.h
# add memset to the header so that we can use it to clear buffers
echo 'void *memset(void *s, int c, size_t n);' >> include/olm/olm.h
include/olm/pk.h: include/olm/olm.h ../include/olm/pk.h
- $(CPP) -I dummy -I ../include ../include/olm/pk.h -o include/olm/pk.h
+ $(CPP) -I dummy -I ../include -o include/olm/pk.h ../include/olm/pk.h
include/olm/sas.h: include/olm/olm.h ../include/olm/sas.h
- $(CPP) -I dummy -I ../include ../include/olm/sas.h -o include/olm/sas.h
+ $(CPP) -I dummy -I ../include -o include/olm/sas.h ../include/olm/sas.h
headers: include/olm/olm.h include/olm/pk.h include/olm/sas.h