Skip to content
Snippets Groups Projects
Commit 2af19b4a authored by Evangelos Foutras's avatar Evangelos Foutras :smiley_cat:
Browse files

Add -fcommon workaround for GCC 10

parent bed4b6c3
No related branches found
No related tags found
No related merge requests found
......@@ -26,6 +26,8 @@ build() {
export CXXFLAGS=${CXXFLAGS/-fno-plt}
export LDFLAGS=${LDFLAGS/,-z,now}
CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
./configure --prefix=/usr \
--enable-glamor
make
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment