tisn05 / sk1

Automatically exported from code.google.com/p/sk1
Other
0 stars 0 forks source link

Do not add extra empty compile args for Python 2.7 #38

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Compile with Python 2.7

What is the expected output? What do you see instead?
Clean compilation

What version of the product are you using? On what operating system?
Python 2.7 with gcc 4.8.1

Please provide any additional information below.
Setting extra_compile_args=[""] adds an empty argument to the commandline which 
leads to strange errors for Python 2.7:

/opt/csw/bin/gcc-4.8 -O2 -pipe -m32 -march=pentiumpro -fno-strict-aliasing -O2 
-pipe -m32 -march=pentiumpro -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes 
-fPIC -DMAJOR_VERSION=1 -DMINOR_VERSION=0 -DHAVE_LIBJPEG -DHAVE_LIBZ 
-I/opt/csw/include/python2.7 -c src/imaging/libimaging/Access.c -o 
build/temp.solaris-2.10-i86pc.32bit-2.7/src/imaging/libimaging/Access.o 
gcc-4.8: Fehler: : Datei oder Verzeichnis nicht gefunden

Original issue reported on code.google.com by honkma...@googlemail.com on 14 Sep 2013 at 9:32