mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
Minor Linux fixes for Makefile.lite build method.
This commit is contained in:
@@ -55,6 +55,11 @@ ifeq ($(PROC),powerpc)
|
|||||||
PROC := ppc
|
PROC := ppc
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(OS),Linux)
|
||||||
|
PROC := $(shell uname -m)
|
||||||
|
USE_ICONV := 0
|
||||||
|
endif
|
||||||
|
|
||||||
debug : BUILD = debug
|
debug : BUILD = debug
|
||||||
valgrind : BUILD = debug
|
valgrind : BUILD = debug
|
||||||
release : BUILD = release
|
release : BUILD = release
|
||||||
@@ -90,6 +95,12 @@ else
|
|||||||
CONFIG_CFLAGS += -DWORDS_BIGENDIAN=0
|
CONFIG_CFLAGS += -DWORDS_BIGENDIAN=0
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(OS),Linux)
|
||||||
|
ifeq ($(PROC),x86_64)
|
||||||
|
CONFIG_CFLAGS += -fPIC
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
ifneq (0,$(USE_ICONV))
|
ifneq (0,$(USE_ICONV))
|
||||||
CONFIG_CFLAGS += -DHAVE_ICONV
|
CONFIG_CFLAGS += -DHAVE_ICONV
|
||||||
ICONV_LIBS = -liconv
|
ICONV_LIBS = -liconv
|
||||||
|
|||||||
Reference in New Issue
Block a user