Commit 33fa7dc6 authored by Erik de Castro Lopo's avatar Erik de Castro Lopo
Browse files

Minor Linux fixes for Makefile.lite build method.

parent 85d5c538
......@@ -55,6 +55,11 @@ ifeq ($(PROC),powerpc)
PROC := ppc
endif
ifeq ($(OS),Linux)
PROC := $(shell uname -m)
USE_ICONV := 0
endif
debug : BUILD = debug
valgrind : BUILD = debug
release : BUILD = release
......@@ -90,6 +95,12 @@ else
CONFIG_CFLAGS += -DWORDS_BIGENDIAN=0
endif
ifeq ($(OS),Linux)
ifeq ($(PROC),x86_64)
CONFIG_CFLAGS += -fPIC
endif
endif
ifneq (0,$(USE_ICONV))
CONFIG_CFLAGS += -DHAVE_ICONV
ICONV_LIBS = -liconv
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment