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

lib/neardal.h: fix build with gcc 10 #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Sep 9, 2020

  1. lib/neardal.h: fix build with gcc 10

    Define neardal_output_cb as extern to avoid the following build failure
    with gcc 10 (which defaults to -fno-common):
    
    /srv/storage/autobuild/run/instance-2/output-1/host/lib/gcc/arm-buildroot-linux-gnueabihf/10.2.0/../../../../arm-buildroot-linux-gnueabihf/bin/ld: ./.libs/neardal_adapter.o:(.bss+0x0): multiple definition of `neardal_output_cb'; ./.libs/neardal.o:(.bss+0x68): first defined here
    
    Fixes:
     - http://autobuild.buildroot.org/results/7efb100c899b67ffd570f73c202442f95ca5397e
    
    Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
    ffontaine committed Sep 9, 2020
    Configuration menu
    Copy the full SHA
    0846741 View commit details
    Browse the repository at this point in the history