Changeset 6a6ae2 in git


Ignore:
Timestamp:
Oct 25, 2013, 6:37:00 PM (11 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'c1c65551e4b3a0de0b13ddf30446f6e9569681b5')
Children:
32d8cb4d146c3b9e5d73001109ccb7837d4aae69
Parents:
1ba7d59dde84d122942e10a85da471cf9da64a00
Message:
Added -fno-common in order to fix OSX problem with common symbols

SOLUTION due to http://stackoverflow.com/questions/19398742/os-x-linker-unable-to-find-symbols-from-a-c-file-which-only-contains-variables
SEE ALSO: https://developer.apple.com/library/mac/documentation/developertools/conceptual/MachOTopics/1-Articles/executing_files.html
File:
1 edited

Legend:

Unmodified
Added
Removed
  • m4/flags.m4

    r1ba7d5 r6a6ae2  
    8080# SING_SHOW_FLAGS([checking flags....])
    8181
    82  FLAGS="-pipe"
     82 FLAGS="-pipe -fno-common"
    8383 AC_LANG_PUSH([C])
    8484 AX_APPEND_COMPILE_FLAGS(${FLAGS}, [CFLAGS])
     
    9292 
    9393 if test "x${ENABLE_DEBUG}" == xyes; then
    94   DBGFLAGS="-g -O0 -ftrapv -fdiagnostics-show-option -Wall -Wextra"
     94  DBGFLAGS="-g -ftrapv -fdiagnostics-show-option -Wall -Wextra"
    9595  #  -pedantic too strict ??? -Wvla -Wno-long-long ???
    9696  AC_LANG_PUSH([C])
Note: See TracChangeset for help on using the changeset viewer.