diff options
author | Bogon Kim <bogon82.kim@samsung.com> | 2013-08-30 10:26:59 +0900 |
---|---|---|
committer | Bogon Kim <bogon82.kim@samsung.com> | 2013-08-30 10:26:59 +0900 |
commit | fb3259f487244540742920126b05b2a04974e0e8 (patch) | |
tree | 6e3f6a0025a3f72015e9deb471ecc5b0424305d5 | |
parent | e8e5ca8e63cb145d490f963299bfb04a8ca3e16b (diff) | |
download | csr-framework-accepted/tizen/ivi/genivi.tar.gz csr-framework-accepted/tizen/ivi/genivi.tar.bz2 csr-framework-accepted/tizen/ivi/genivi.zip |
Using gcc driver instead of using ld directly to let gcc driver search the system library such as libc, libgcc_s1 automatically on cross-build environment.submit/tizen_ivi_genivi/20140131.015919submit/tizen/20130912.075649submit/tizen/20130905.052437ivi_oct_m2accepted/tizen/ivi/genivi/20140131.020141accepted/tizen/20130912.093439accepted/tizen/20130912.085423accepted/tizen/20130912.082336accepted/tizen/20130905.183213accepted/tizen/20130905.052101tizen_ivi_geniviaccepted/tizen/ivi/stableaccepted/tizen/ivi/genivi
Signed-off-by: Bogon Kim <bogon82.kim@samsung.com>
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -33,7 +33,7 @@ OUTDIR = lib TARGET = $(OUTDIR)/libsecfw.so SRCDIR = framework INCLUDE = -I. $(TCS_INC) -I../plugin -LD_FLAGS := $(LD_FLAGS) -ldl -lc +LD_FLAGS := $(LD_FLAGS) -ldl ifeq ($(TCS_CC), ) CC = gcc @@ -70,7 +70,7 @@ $(OUTDIR)/%.o: $(SRCDIR)/%.c all: $(OUTDIR) $(TARGET) $(TARGET): $(OBJECTS) - $(LD) -shared,-Wl,-zdefs -o $(TARGET) $(OBJECTS) $(LD_FLAGS) + $(CC) -shared -Wl,-zdefs -o $(TARGET) $(OBJECTS) $(LD_FLAGS) # $(AR) -cr $(TARGET) $(OBJECTS) |