fix a bug that prevents the wgt634u from initializing the filesystem properly
[openwrt.git] / package / libol / Makefile
index 9205184..f027a42 100644 (file)
@@ -52,7 +52,9 @@ $(PKG_BUILD_DIR)/.configured:
 $(PKG_BUILD_DIR)/.built:
        rm -rf $(PKG_INSTALL_DIR)
        mkdir -p $(PKG_INSTALL_DIR)
+       # pass CFLAGS again to override -O2 set by configure
        $(MAKE) -C $(PKG_BUILD_DIR) \
+               CFLAGS="$(TARGET_CFLAGS)" \
                DESTDIR="$(PKG_INSTALL_DIR)" \
                all install
        touch $@
This page took 0.023382 seconds and 4 git commands to generate.