X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=rules.mk;h=43e047b36d179e19b72275bce4b5285af7f9ea1d;hp=6f85040ea397f6eec6c26fc8d4ae7679252f1114;hb=642466026a078f7c2bf413e94aa720776300b604;hpb=dcab4e022083fecf221bebf9d6cdbb30b4b33c4d diff --git a/rules.mk b/rules.mk index 6f85040..43e047b 100644 --- a/rules.mk +++ b/rules.mk @@ -2,6 +2,7 @@ VPATH = $(srcdir) CPPFLAGS += -I$(top_srcdir) -I$(top_srcdir)/lib -I$(builddir) +LDFLAGS += $(CFLAGS) # we need paths to be overridable at build-time DEFS += '-DPREFIX="$(prefix)"' '-DPKG_SHARE_DIR="$(pkgdatadir)"' \