summaryrefslogtreecommitdiff
path: root/ldso/Rules.mak
blob: 96d132a96d06152b8b4a764c3523ec0237d17bd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
include $(TOPDIR)Rules.mak

LDSO_VERSION=1.9.11
LDSO_VMAJOR=$(MAJOR_VERSION)
DLINKER = ld-linux-uclibc.so
LIBDL = libdl.so

DEVEL=true

# Do NOT use -fomit-frame-pointer -- It won't work!
CFLAGS	+= -DVERSION=\"$(LDSO_VERSION)\"

CC = $(TOPDIR)extra/gcc-uClibc/$(NATIVE_ARCH)-uclibc-gcc
ifeq ($(DEVEL),true)
	CFLAGS += -DUCLIBC_INSTALL_DIR=\"$(INSTALL_DIR)\"
	CFLAGS += -DUCLIBC_DEVEL
endif