mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 19:23:24 +02:00
apcupsd: Fix build with GCC 4.4.
This commit is contained in:
@@ -77,6 +77,7 @@ $(subst %,%_MD5,$(objects)) :
|
||||
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
@$(PREBUILD)
|
||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
|
||||
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/apcupsd-3.14.4-fix-gcc44.patch
|
||||
cd $(DIR_APP) && ./configure --prefix=/usr --enable-usb --enable-cgi \
|
||||
--with-cgi-bin=/srv/web/ipfire/cgi-bin
|
||||
cd $(DIR_APP) && make $(MAKETUNING)
|
||||
|
||||
Reference in New Issue
Block a user