]> granicus.if.org Git - openssl/commitdiff
Makefile.org: mask touch's exit code
authorAndy Polyakov <appro@openssl.org>
Thu, 27 Feb 2014 11:35:02 +0000 (12:35 +0100)
committerAndy Polyakov <appro@openssl.org>
Thu, 27 Feb 2014 11:35:02 +0000 (12:35 +0100)
[but don't let it mask make's].

PR: 3269

Makefile.org

index 318d92cd9077a424e84c43007b7442b99e117c18..138d46ba7d0ec134173ec5556e9216b4827c0129 100644 (file)
@@ -302,8 +302,8 @@ libcrypto$(SHLIB_EXT): libcrypto.a fips_premain_dso$(EXE_EXT)
                        FIPSLD_CC="$(CC)"; CC=$(FIPSDIR)/bin/fipsld; \
                        export CC FIPSLD_CC FIPSLD_LIBCRYPTO; \
                fi; \
-               $(MAKE) -e SHLIBDIRS=crypto  CC="$${CC:-$(CC)}" build-shared; \
-               touch -c fips_premain_dso$(EXE_EXT); \
+               $(MAKE) -e SHLIBDIRS=crypto  CC="$${CC:-$(CC)}" build-shared && \
+               (touch -c fips_premain_dso$(EXE_EXT) || :); \
        else \
                echo "There's no support for shared libraries on this platform" >&2; \
                exit 1; \