diff options
author | Thomas Klausner <wiz@NetBSD.org> | 2015-08-08 17:59:09 +0200 |
---|---|---|
committer | Thomas Klausner <wiz@NetBSD.org> | 2015-08-08 18:00:07 +0200 |
commit | 05925ef8a49f3ba302140bd37ba9c4848598638d (patch) | |
tree | a1bf91902dae1699b43602680a4e7e1786315c24 | |
parent | 8a7b4d5bb51b9d3d827bc4d0c8c7861f0935060c (diff) |
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
-rw-r--r-- | external/glm/UnpackedTarball_glm.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/external/glm/UnpackedTarball_glm.mk b/external/glm/UnpackedTarball_glm.mk index 82f4a2c3a850..f59325414d8c 100644 --- a/external/glm/UnpackedTarball_glm.mk +++ b/external/glm/UnpackedTarball_glm.mk @@ -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)) |