Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building with gcc 10+ #80

Closed
ghost opened this issue Jun 26, 2020 · 1 comment
Closed

Building with gcc 10+ #80

ghost opened this issue Jun 26, 2020 · 1 comment

Comments

@ghost
Copy link

ghost commented Jun 26, 2020

Currently building fails when using gcc 10. Fedora 32 uses this version and eventually others should.

Seems to be a common issue and using -fcommon with C_FLAGS works around the problem.

Example:
/usr/bin/ld: ../extern/SDL2/libSDL2.a(SDL_windowevents.c.o):(.bss+0x8): multiple definition of 'WAYLAND_wl_proxy_get_user_data'; ../extern/SDL2/libSDL2.a(SDL_events.c.o):(.bss+0x8): first defined here

@apanteleev
Copy link
Collaborator

GCC 10 build is fixed in release 1.4.0. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant