summaryrefslogtreecommitdiffstats
path: root/hal/power_hal/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'hal/power_hal/Makefile')
-rwxr-xr-xhal/power_hal/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/hal/power_hal/Makefile b/hal/power_hal/Makefile
index e2aa118..c5cf661 100755
--- a/hal/power_hal/Makefile
+++ b/hal/power_hal/Makefile
@@ -31,9 +31,6 @@ CXXFLAGS += -Wall -fPIC
LDFLAGS += -shared
LDFLAGS += -Wl,--no-as-needed
LDFLAGS += -Wl,--no-undefined
-LDFLAGS += -L=/usr/lib/basesystem
-
-RPATH := /usr/lib/basesystem
######### linked library ########################
LIBS += -Wl,-Bdynamic -lstdc++
@@ -48,7 +45,7 @@ all: $(TARGET)
@echo $@ done.
$(TARGET): $(OBJS)
- $(CC) $(LDFLAGS) -Wl,-rpath=$(RPATH) $(OBJS) $(LIBS) -o $(TARGET)
+ $(CC) $(LDFLAGS) $(OBJS) $(LIBS) -o $(TARGET)
@echo $@ done.
######### make cleans ###########################