summaryrefslogtreecommitdiffstats
path: root/libopenbmc_intf/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libopenbmc_intf/Makefile')
-rw-r--r--libopenbmc_intf/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/libopenbmc_intf/Makefile b/libopenbmc_intf/Makefile
index 9cd7be6..8853318 100644
--- a/libopenbmc_intf/Makefile
+++ b/libopenbmc_intf/Makefile
@@ -2,11 +2,11 @@ PACKAGE_DEPS=gio-unix-2.0 glib-2.0
INSTALLDEPS=install-lib
CLEANDEPS=clean-lib
DEFAULT_ALL=$(LIBOBMC)
-CFLAGS+=-iquote ../gdbus
+ALL_CFLAGS+=-iquote ../gdbus
LIBOBMC=openbmc_intf
$(LIBOBMC): %: %.o gpio.o
- $(CC) -shared $(LDFLAGS) -Wl,-soname,lib$(LIBOBMC).so \
+ $(CC) -shared $(CFLAGS) $(LDFLAGS) -Wl,-soname,lib$(LIBOBMC).so \
-o lib$@.so.1 $^ $(LDLIBS)
install-lib:
OpenPOWER on IntegriCloud