diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2024-05-25 11:36:45 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2024-08-07 09:57:52 -0500 |
commit | 2272318d3eed62d4fac190bcd26cea82e0cb557d (patch) | |
tree | ab875c4c89adacb9fefae0d406aff839f255fd70 | |
parent | aa67525d22703d0b062f306969dca31f00cf8958 (diff) | |
download | packages-2272318d3eed62d4fac190bcd26cea82e0cb557d.tar.gz packages-2272318d3eed62d4fac190bcd26cea82e0cb557d.tar.bz2 packages-2272318d3eed62d4fac190bcd26cea82e0cb557d.tar.xz packages-2272318d3eed62d4fac190bcd26cea82e0cb557d.zip |
system/heirloom-devtools: Use C++98 standard
This fixes a build error with newer GCC that defaults to the C++17
standard. Basic operation was tested and remains functional.
It would be a *lot* better to rearchitect this, especially with how many
times it hits -Wwrite-strings. Anyone willing to do that work would be
highly praised :)
-rw-r--r-- | system/heirloom-devtools/APKBUILD | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/heirloom-devtools/APKBUILD b/system/heirloom-devtools/APKBUILD index c6ca8892f..cbf0633d5 100644 --- a/system/heirloom-devtools/APKBUILD +++ b/system/heirloom-devtools/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: A. Wilcox <awilfox@adelielinux.org> pkgname=heirloom-devtools pkgver=070527 -pkgrel=1 +pkgrel=2 pkgdesc="Development tools compatible with UNIX" url="http://heirloom.sourceforge.net/devtools.html" arch="all" @@ -20,7 +20,7 @@ source="https://downloads.sourceforge.net/heirloom/heirloom-devtools/$pkgver/hei $pkgname-$pkgver-64-bit.patch" build() { - make -j1 CXXFLAGS="${CXXFLAGS} -DMAXNETNAMELEN=255" + make -j1 CXXFLAGS="${CXXFLAGS} -DMAXNETNAMELEN=255 -std=c++98" } package() { |