Commit 415bff5e0f7d0915c5dfb0a097fbc577eafdd704
1 parent
d32d05f5
Use c99 standard and threadsave libc
Showing
2 changed files
with
6 additions
and
1 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 | TRCOMM = cet_accept.c \ |
| 7 | 8 | cep_write_buffered.c \ |
| ... | ... | @@ -39,3 +40,4 @@ lib_LTLIBRARIES = libtrcomm.la |
| 39 | 40 | libtrcomm_la_SOURCES = $(TRCOMM) |
| 40 | 41 | libtrcomm_la_CFLAGS = $(AM_CFLAGS) |
| 41 | 42 | libtrcomm_la_LIBADD = |
| 43 | +libtrcomm_la_LDFLAGS = -version-info 0:0:0 $(AM_LDFLAGS) | ... | ... |
Please
register
or
login
to post a comment