Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Apr 2017 16:28:29 +0200
From:      Jan Beich <jbeich@FreeBSD.org>
To:        freebsd-ports@freebsd.org
Cc:        Matthew Rezny <rezny@FreeBSD.org>
Subject:   Excessive CFLAGS: -pthread -D_THREAD_SAFE
Message-ID:  <d1cp-1ugi-wny@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

A few weeks ago (just before 2017Q2 has branched) many GUI apps started
to have very long compile lines. Most of it is composed of duplicate
occurence of the same flags with the first bad being r437182 e.g.,

$ pkg-config --cflags gtk+-2.0
=2DI/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/=
include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/=
usr/local/include/cairo -I/usr/local/include/pixman-1-I/usr/local/include/f=
reetype2 -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -I/usr=
/local/include/libdrm -pthread -D_THREAD_SAFE -pthread -D_THREAD_SAFE -pthr=
ead -D_THREAD_SAFE -pthread -D_THREAD_SAFE -pthread -D_THREAD_SAFE -pthread=
 -D_THREAD_SAFE -pthread -D_THREAD_SAFE -pthread -D_THREAD_SAFE -pthread -D=
_THREAD_SAFE -pthread -D_THREAD_SAFE -pthread -D_THREAD_SAFE -pthread -D_TH=
READ_SAFE -pthread -D_THREAD_SAFE -pthread -D_THREAD_SAFE -pthread -D_THREA=
D_SAFE -pthread -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/at=
k-1.0 -pthread -D_THREAD_SAFE -pthread -D_THREAD_SAFE -pthread -D_THREAD_SA=
FE -pthread -D_THREAD_SAFE -pthread -D_THREAD_SAFE -pthread -D_THREAD_SAFE =
-pthread -D_THREAD_SAFE -pthread -D_THREAD_SAFE -pthread -D_THREAD_SAFE -pt=
hread -D_THREAD_SAFE -pthread -D_THREAD_SAFE -pthread -D_THREAD_SAFE -pthre=
ad -D_THREAD_SAFE -pthread -D_THREAD_SAFE -pthread -D_THREAD_SAFE -pthread =
-pthread

Is this intentional? A bug in pkgconf or .pc file?

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQF8BAEBCgBmBQJY5lCNXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXREQjQ0MzY3NEM3RDIzNTc4NkUxNDkyQ0VF
NEM3Nzg4MzQ3OURCRERCAAoJEOTHeINHnb3bP1kH/2xY74phIqfhHdaU5r9X2Ltj
7mgjaYoSF27xqtcR5UoG4GMiUiDIH5aC+Essfinisz9zybCNgMKWnbD9epMe4fWU
3em867eivN/5A0pie+N94iM3mXRSlzXNTAi88TGpRY2HaZQRnmX0L47YFSnrmXao
j8j7X2LfYjyQ410LVadrmjBY4QLYuXM/qYmEhBCawPMc47Qgap3MdwnSicT23fW8
4U5oX07MZRZcvEYFgJl0notUFM/8nzQlxXPOYihEm17RLLCKrmB3e6l1PvyxgCWU
pmTtC4CVHr9Drej1d+6boKR5GhpqbKqYstA5cexbllp0QTjJSOZlk0FmUaU3w+c=
=XRM1
-----END PGP SIGNATURE-----
--=-=-=--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d1cp-1ugi-wny>