Commit 4fe129818550a4acbe6dfe30af7868875fcf55b0
1 parent
9e065863
Use c99 standard and threadsave libc
Showing
2 changed files
with
7 additions
and
2 deletions
1 | 1 | ACLOCAL_AMFLAGS = -I m4 |
2 | 2 | AUTOMAKE_OPTIONS = subdir-objects |
3 | 3 | |
4 | -AM_CFLAGS += -I../include/ | |
4 | +AM_CFLAGS += -I../include/ -std=c99 -DREENTRANT -lpthread | |
5 | +AM_LDFLAGS += -lpthread | |
5 | 6 | |
6 | 7 | TREVENT = event.c \ |
7 | 8 | get_event_string.c \ |
... | ... | @@ -25,5 +26,6 @@ TREVENT = event.c \ |
25 | 26 | lib_LTLIBRARIES = libtrevent.la |
26 | 27 | |
27 | 28 | libtrevent_la_SOURCES = $(TREVENT) |
28 | -libtrevent_la_CFLAGS = $(AM_CFLAGS) -pthread | |
29 | +libtrevent_la_CFLAGS = $(AM_CFLAGS) | |
29 | 30 | libtrevent_la_LIBADD = |
31 | +libtrevent_la_LDFLAGS = -version-info 0:0:0 $(AM_LDFLAGS) | ... | ... |
Please
register
or
login
to post a comment