Do not add --binary to patch flags unconditionally.

It is only needed for Cygwin, and some patch(1) don't support it,
like NetBSD's.

Solution suggested by vmiklos on irc.

Change-Id: I65a3a82e755167828658218c7d73c4f2294e587f
This commit is contained in:
Thomas Klausner
2015-08-08 17:59:09 +02:00
parent 8a7b4d5bb5
commit 05925ef8a4

View File

@@ -11,7 +11,7 @@ $(eval $(call gb_UnpackedTarball_UnpackedTarball,glm))
$(eval $(call gb_UnpackedTarball_set_tarball,glm,$(GLM_TARBALL)))
$(eval $(call gb_UnpackedTarball_set_patchflags,glm,--binary))
$(eval $(call gb_UnpackedTarball_set_patchflags,glm,$(if $(filter MSC,$(COM)),--binary)))
$(eval $(call gb_UnpackedTarball_set_patchlevel,glm,1))