fix ftype mats on Windows by unsetting the CL environment variable
original commit: 829d7f52e7e35e2277c4c5037b9d70771df4541c
This commit is contained in:
parent
de7a304653
commit
5f704d57da
|
@ -557,9 +557,9 @@
|
|||
[(a6osx a6osx)
|
||||
(system (format "cc -m64 -dynamiclib -o ~a ~a" testfile.so testfile.c))]
|
||||
[(a6nt ta6nt)
|
||||
(system (format "..\\c\\vs.bat amd64 && cl /DWIN32 /Fe~a /LD /MD /nologo ~a" testfile.so testfile.c))]
|
||||
(system (format "set cl= && ..\\c\\vs.bat amd64 && cl /DWIN32 /Fe~a /LD /MD /nologo ~a" testfile.so testfile.c))]
|
||||
[(i3nt ti3nt)
|
||||
(system (format "..\\c\\vs.bat x86 && cl /DWIN32 /Fe~a /LD /MD /nologo ~a" testfile.so testfile.c))]
|
||||
(system (format "set cl= && ..\\c\\vs.bat x86 && cl /DWIN32 /Fe~a /LD /MD /nologo ~a" testfile.so testfile.c))]
|
||||
[(arm32le tarm32le)
|
||||
(system (format "cc -fPIC -shared -o ~a ~a" testfile.so testfile.c))]
|
||||
[else ; this should work for most intel-based systems that use gcc...
|
||||
|
|
Loading…
Reference in New Issue
Block a user