From 98306a8f21f2f322f43fcec143343d9e7f25182a Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Fri, 6 Nov 2009 16:22:38 +0000 Subject: [PATCH] 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 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index cf0e13f3..d9a0a3ae 100644 --- a/Makefile +++ b/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