Skip to content

Commit

Permalink
Add -fcommon workaround for GCC 10
Browse files Browse the repository at this point in the history
git-svn-id: file:///srv/repos/svn-packages/svn@386611 eb2447ed-0c53-47e4-bac8-5bc4a241df78
  • Loading branch information
foutrelis committed May 19, 2020
1 parent 907a2e2 commit ddc5bd4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions freeglut/trunk/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ prepare() {
}

build() {
CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
cmake -H$pkgname-$pkgver -Bbuild \
-DFREEGLUT_BUILD_STATIC_LIBS=OFF \
-DCMAKE_INSTALL_PREFIX=/usr \
Expand Down

0 comments on commit ddc5bd4

Please sign in to comment.