1. 13 Sep, 2018 1 commit
    • Fabrice Fontaine's avatar
      fix static build with libatomic · 6de5f18b
      Fabrice Fontaine authored
      Commit 2ec5a33f added support to link
      with -latomic if needed however using LDFLAGS doesn't work when
      statically linking because LDFLAGS is added before LIBS
      
      Detection of atomic fails with:
      
      configure:23230: /accts/mlweber1/instance-2/output/host/bin/sparc-linux-g++ -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -Os   -static -static -pedantic -Werror -Wall -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -Wno-long-long -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -static -latomic conftest.cpp -lrt -lpthread -lstdc++ >&5
      /tmp/ccgrvVTg.o: In function `main':
      conftest.cpp:(.text.startup+0x10): undefined reference to `__atomic_fetch_add_4'
      collect2: error: ld returned 1 exit status
      
      So use LIBS instead of LDFLAGS
      
      Fixes:
       - http://autobuild.buildroot.net/results/c471d6b1061a8516f7772735e471db68a32965aaSigned-off-by: 's avatarFabrice Fontaine <fontaine.fabrice@gmail.com>
      6de5f18b
  2. 10 Sep, 2018 3 commits
  3. 09 Sep, 2018 2 commits
  4. 01 Sep, 2018 2 commits
  5. 31 Aug, 2018 2 commits
  6. 24 Aug, 2018 2 commits
  7. 23 Aug, 2018 10 commits
  8. 22 Aug, 2018 12 commits
  9. 20 Aug, 2018 3 commits
  10. 19 Aug, 2018 2 commits
  11. 17 Aug, 2018 1 commit