diff options
author | Tavian Barnes <tavianator@gmail.com> | 2010-12-01 00:48:09 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2010-12-01 00:48:09 -0500 |
commit | f309440cc76eed5f9ba0b6f7d94beea6b1c11761 (patch) | |
tree | cb56e1d1b13ce01b5ffc9f813ffca1f2d156f032 /libdimension | |
parent | ad6b0bbd0c100b984d477a5bdb6f26772340c994 (diff) | |
download | dimension-f309440cc76eed5f9ba0b6f7d94beea6b1c11761.tar.xz |
Use -lpthread instead of -pthread.
Diffstat (limited to 'libdimension')
-rw-r--r-- | libdimension/Makefile.am | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libdimension/Makefile.am b/libdimension/Makefile.am index 74da1c6..049381d 100644 --- a/libdimension/Makefile.am +++ b/libdimension/Makefile.am @@ -102,9 +102,9 @@ libdimension_la_SOURCES = $(nobase_include_HEADERS) \ threads.h \ timer.c \ torus.c -libdimension_la_CFLAGS = $(AM_CFLAGS) -pthread +libdimension_la_CFLAGS = $(AM_CFLAGS) libdimension_la_LDFLAGS = -version-info 0:0:0 -no-undefined $(AM_LDFLAGS) -libdimension_la_LIBADD = -lm +libdimension_la_LIBADD = -lm -lpthread if PNG libdimension_la_SOURCES += png.c @@ -125,7 +125,7 @@ if PGO noinst_LTLIBRARIES = libdimension-pgo.la libdimension_pgo_la_SOURCES = $(libdimension_la_SOURCES) libdimension_pgo_la_LIBADD = $(libdimension_la_LIBADD) -lgcov -libdimension_pgo_la_CFLAGS = $(AM_CFLAGS) -pthread -fprofile-generate=$$(readlink -f $(builddir))/pgo +libdimension_pgo_la_CFLAGS = $(AM_CFLAGS) -fprofile-generate=$$(readlink -f $(builddir))/pgo libdimension_la_CFLAGS += -fprofile-correction -fprofile-use=./pgo |