Changeset 10f924c for lib/Makefile.am


Ignore:
Timestamp:
05/23/14 17:31:26 (7 years ago)
Author:
Shane Alcock <salcock@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
2a7047c
Parents:
d3b6b91
Message:

Fixed broken -fvisibility check in configure

  • Added a m4 script that does this properly rather than our hax gcc version check.
  • Tidied up CFLAGS in configure so we aren't adding the same sets of flags multiple times
  • Created a wandio_internal.h file for storing global variables that shouldn't be made public

Thanks to Alistair King, whose patch to try and make this work for
non-gcc systems brought my attention to just how broken this was :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/Makefile.am

    r2138553 r10f924c  
    22include_HEADERS = libtrace.h dagformat.h lt_inttypes.h daglegacy.h rt_protocol.h erftypes.h 
    33
    4 AM_CFLAGS=@LIBCFLAGS@
    5 AM_CXXFLAGS=@LIBCXXFLAGS@
     4AM_CFLAGS=@LIBCFLAGS@ @CFLAG_VISIBILITY@
     5AM_CXXFLAGS=@LIBCXXFLAGS@ @CFLAG_VISIBILITY@
    66
    77extra_DIST = format_template.c
Note: See TracChangeset for help on using the changeset viewer.