summaryrefslogtreecommitdiffstats
path: root/docs/manual/adding-board-support.txt
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-04-06 09:25:36 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-04-06 16:13:52 +0200
commit9a521546ed553d2be23740bbf1a7aa05bce9eb09 (patch)
treeb131a6c6374fb37e4f2287d085375c176fe54785 /docs/manual/adding-board-support.txt
parent7039c4d456259ca2c2708be16ebea98a82adee3f (diff)
downloadbuildroot-9a521546ed553d2be23740bbf1a7aa05bce9eb09.tar.gz
buildroot-9a521546ed553d2be23740bbf1a7aa05bce9eb09.zip
libnspr: use __nios2__ instead of nios2
Our patch adding nios2 support to libnspr uses the built-in compiler define "nios2". However, this doesn't work with C++11, where only the __nios2__ define is available. Since __nios2__ is always available, use that instead: $ ./output/host/usr/bin/nios2-linux-gcc -dM -E - < /dev/null | grep -E "( nios2 | __nios2__ )" $ ./output/host/usr/bin/nios2-linux-gcc -std=c++11 -x c++ -dM -E - < /dev/null | grep -E "( nios2 | __nios2__ )" Patch 0001-nios2.patch is therefore changed to use __nios2__ (the rest of the change noise is due to using quilt to format the patch). Patch 0002-microblaze.patch is simply updated to apply correctly on top of the modified 0001-nios2.patch. This fixes the build of the poppler library on nios2. It is built with -std=c++11, and includes nspr headers (through nss), causing a build issue. Fixes: http://autobuild.buildroot.net/results/9fee58076157d814616fa0da51afde8da21a8973/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'docs/manual/adding-board-support.txt')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud