diff options
| author | Avi Halachmi (:avih) <avihpit@yahoo.com> | 2017-09-25 18:39:35 +0300 |
|---|---|---|
| committer | Avi Halachmi (:avih) <avihpit@yahoo.com> | 2017-09-25 18:39:35 +0300 |
| commit | abd1532ad41f6b9c7f1c5a10b5b8df22d73567cf (patch) | |
| tree | a420f289c620ed21d984d8d2d9657d6d67019800 /tests/tests2/42_function_pointer.c | |
| parent | 560188711dc12a9d8b3a437069251096b37b1f82 (diff) | |
| download | tinycc-abd1532ad41f6b9c7f1c5a10b5b8df22d73567cf.tar.gz tinycc-abd1532ad41f6b9c7f1c5a10b5b8df22d73567cf.tar.bz2 | |
freebsd: allow building tcc which targets windows
Currently tcc doesn't have a compile-time config indicating that the target
is freebsd, and as a result, the tcc binary adds freebsh stuff to elf headers
if the compile-time (of tcc) *host* is freebsd.
Test also that the target is not PE while generating an elf header.
This still likely fails (but untested) when tcc targets other non-freebsd
systems on a freebsd system, but for now fix it only when targetting windows.
Diffstat (limited to 'tests/tests2/42_function_pointer.c')
0 files changed, 0 insertions, 0 deletions
