Skip to content

Commit

Permalink
Attempt to use older glibc.
Browse files Browse the repository at this point in the history
GCC Flag --target=x86_64-linux-gnu.2.27
See also ziglang/zig#9485
  • Loading branch information
hendriks73 committed Nov 3, 2021
1 parent d045145 commit f467b53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@
<ccompiler>gcc</ccompiler>
<headers.jni>${env.JAVA_HOME}/include/</headers.jni>
<headers.os>linux</headers.os>
<compiler.startoptions>${cflags} ${gcc.code} -fPIC -Wall -x c -Wno-multichar -D_JNI_IMPLEMENTATION_ -O3</compiler.startoptions>
<compiler.startoptions>${cflags} ${gcc.code} --target=x86_64-linux-gnu.2.27 -fPIC -Wall -x c -Wno-multichar -D_JNI_IMPLEMENTATION_ -O3</compiler.startoptions>
<linker.startoptions>${gcc.code} -Wl,--allow-multiple-definition -shared -s</linker.startoptions>
<!-- <linker.endoptions>-lws2_32</linker.endoptions> -->
<linker.endoptions>-L${project.build.directory}/lib -lavformat -lavcodec -lavutil -lswresample</linker.endoptions>
Expand Down

0 comments on commit f467b53

Please sign in to comment.