Linking with -lm is needed on linux to support bold, an experimental linker from the binutils.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1154 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
parent
045d8714ad
commit
98306a8f21
2
Makefile
2
Makefile
@ -229,7 +229,7 @@ else
|
||||
# Compiles a regular linux exectutable for the native platform
|
||||
BIN = grafx2
|
||||
COPT = -W -Wall -Wdeclaration-after-statement -std=c99 -c -g `sdl-config --cflags` $(TTFCOPT) $(LUACOPT)
|
||||
LOPT = `sdl-config --libs` -lSDL_image $(TTFLOPT) -lpng $(LUALOPT)
|
||||
LOPT = `sdl-config --libs` -lSDL_image $(TTFLOPT) -lpng $(LUALOPT) -lm
|
||||
# Use gcc for compiling. Use ncc to build a callgraph and analyze the code.
|
||||
CC = gcc
|
||||
#CC = nccgen -ncgcc -ncld -ncfabs
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user