Commit 9b1bd15a authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Add -fPIC everywhere in test-simu

Needed when using gcc4.8
parent dfd4b0f2
......@@ -34,10 +34,10 @@ test-python:
$(OPENGEODE) --shared
$(ASN1SCC) -Ada dataview-uniq.asn -typePrefix asn1Scc -equal
$(ASN1SCC) -c dataview-uniq.asn -typePrefix asn1Scc -equal
$(GNATMAKE) -O$(O) -gnat2012 -c *.adb
$(GNATMAKE) -O$(O) -gnat2012 -fPIC -c *.adb
$(GNATBIND) -n -Lliborchestrator orchestrator
$(GNATMAKE) -c -gnat2012 b~orchestrator.adb
$(CC) -c external_proc.c
$(GNATMAKE) -c -fPIC -gnat2012 b~orchestrator.adb
$(CC) -c -fPIC external_proc.c
$(CC) -shared -fPIC -o b~orchestrator.o orchestrator.o taste_basictypes.o adaasn1rtl.o external_proc.o -lgnat
python -c "from ctypes import *; test=CDLL('./'); test.liborchestratorinit()"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment