From: Ondřej Surý Date: Fri, 1 Mar 2019 14:19:22 +0000 (+0100) Subject: Add information about NetBSD 6 compilation on i386 X-Git-Tag: v9.14.0rc2~8^2 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=919dc5dd4229ca58bd3434f987e4a8dbd0c084bc;p=thirdparty%2Fbind9.git Add information about NetBSD 6 compilation on i386 (cherry picked from commit 9a16e0a5ae88455a9b9ecc24e8308277798f4c8a) --- diff --git a/PLATFORMS.md b/PLATFORMS.md index af75b73819a..543135a4e31 100644 --- a/PLATFORMS.md +++ b/PLATFORMS.md @@ -95,8 +95,18 @@ armhf documentation): the processors to support here, therefore the recommended build option is `-mfpu=vfpv3-d16`. -The configure command should look like this: +The `configure` command should look like this: ``` CFLAGS="-march=armv7-a -mfpu=vfpv3-d16 -Os -g" ./configure ``` + +### NetBSD 6 i386 + +The i386 build of NetBSD requires the `libatomic` library, available from +the `gcc5-libs` package. Because this library is in a non-standard path, +its location must be specified in the `configure` command line: + +``` +LDFLAGS="-L/usr/pkg/gcc5/i486--netbsdelf/lib/ -Wl,-R/usr/pkg/gcc5/i486--netbsdelf/lib/" ./configure +```