$(call Build/Configure/Default, \
--enable-shared \
--enable-static \
- --with-pf_packet=yes \
- , \
- ac_libnet_have_pf_packet=yes \
- ac_cv_lbl_unaligned_fail=no \
+ --with-pf_packet=yes, \
ac_cv_libnet_endianess=$(ENDIANESS) \
+ ac_libnet_have_pf_packet=yes \
)
endef
define Build/Compile
+ # pass CFLAGS again to override -O2 set by configure
$(MAKE) -C $(PKG_BUILD_DIR) \
+ CFLAGS="$(TARGET_CFLAGS)" \
DESTDIR="$(PKG_INSTALL_DIR)" \
all install
endef