diff options
| author | Sergei V. Rogachev <[email protected]> | 2019-07-08 16:55:20 +0300 |
|---|---|---|
| committer | Quentin Carbonneaux <[email protected]> | 2019-07-11 13:10:44 +0200 |
| commit | 7bf08ff50729037c8820b26d085905175b5593c8 (patch) | |
| tree | 69f942815442e4dde167fd1ee1cd8bdc32e638a2 /minic | |
| parent | acc3af47330fd6610cf0fbdb28e9fbd05160888f (diff) | |
minic: fix undefined symbol linkage issue
The mandel example uses SDL2 for graphics
output. When GCC is used to assemble the
resulting *.s file it shows linker's
errors about undefined symbols from the
library.
This behavior can be fixed by moving
the flags passed to the compiler after
the source file name.
Diffstat (limited to 'minic')
| -rwxr-xr-x | minic/mcc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -33,7 +33,7 @@ fi $DIR/minic < $file > /tmp/minic.ssa && $QBE < /tmp/minic.ssa > /tmp/minic.s && -cc $flags /tmp/minic.s +cc /tmp/minic.s $flags if test $? -ne 0 then |
