lcd4linux: fix build error for custom build
authorFlorian Eckert <fe@dev.tdt.de>
Tue, 23 May 2023 06:30:06 +0000 (08:30 +0200)
committerFlorian Eckert <fe@dev.tdt.de>
Tue, 23 May 2023 06:41:12 +0000 (08:41 +0200)
This change fixes the following build error:
hecking that generated files are newer than configure... done
configure: error: conditional "ANSICXX" was never defined.
Usually this means the macro was only invoked conditionally.
make[2]: *** [Makefile:300:
/home/feckert/openwrt/build_dir/target-x86_64_musl/lcd4linux-custom/lcd4linux-2019-07-19-0b83bb3a/.configured_a17fb5ef857664f03cd0ce37cc5ea591]
Error 1
make[2]: Leaving directory
'/home/feckert/feeds/packages/utils/lcd4linux'
time: package/feeds/packages/lcd4linux/custom/compile#15.43#0.79#16.92
ERROR: package/feeds/packages/lcd4linux failed to build (build
variant: custom).
make[1]: *** [package/Makefile:120:
package/feeds/packages/lcd4linux/compile] Error 1
make[1]: Leaving directory
'/home/feckert/openwrt'
make: ***
[/home/feckert/openwrt/include/toplevel.mk:231:
package/feeds/packages/lcd4linux/compile] Error 2

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Suggested-by: Oskari Rauta <oskari.rauta@gmail.com>
utils/lcd4linux/Makefile

index 4f42576dab88e50ed004f16ad53c90a2b1432e93..74265172ace78cfa49ea2944008958eacc30cbfe 100644 (file)
@@ -8,7 +8,7 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=lcd4linux
-PKG_RELEASE:=8
+PKG_RELEASE:=9
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL:=https://github.com/feckert/lcd4linux
@@ -195,6 +195,10 @@ $(call Package/lcd4linux/Default/description)
 endef
 
 
+CONFIGURE_VARS+= \
+       ANSICXX_TRUE=yes \
+       am__fastdepCXX_TRUE=yes
+
 CONFIGURE_ARGS+= \
        --disable-rpath