Skip to content
This repository was archived by the owner on Mar 30, 2019. It is now read-only.

Commit 80ea79f

Browse files
committed
Use LC_ALL=C instead of LANG=C: LC_ALL has precedence over all LC_* and LANG.
1 parent e916bd2 commit 80ea79f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ ifeq ($$(findstring iphone,$$(SDK-$1)),)
149149
# Patch apps/speed.c to not use fork() since it's not available on tvOS
150150
sed -ie 's/define HAVE_FORK 1/define HAVE_FORK 0/' $$(OPENSSL_DIR-$1)/apps/speed.c
151151
# Patch Configure to build for tvOS or watchOS, not iOS
152-
LANG=C sed -ie 's/-D_REENTRANT:iOS/-D_REENTRANT:$2/' $$(OPENSSL_DIR-$1)/Configure
152+
LC_ALL=C sed -ie 's/-D_REENTRANT:iOS/-D_REENTRANT:$2/' $$(OPENSSL_DIR-$1)/Configure
153153
endif
154154
# Configure the build
155155
cd $$(OPENSSL_DIR-$1) && \

0 commit comments

Comments
 (0)