X-Git-Url: https://git.saurik.com/apple/ld64.git/blobdiff_plain/a645023da60d22e86be13f7b4d97adeff8bc6665..afe874b1634377ecb27057ee76deb04915bb34d7:/unit-tests/test-cases/read-only-relocs/Makefile diff --git a/unit-tests/test-cases/read-only-relocs/Makefile b/unit-tests/test-cases/read-only-relocs/Makefile index 8db5b03..e4b8086 100644 --- a/unit-tests/test-cases/read-only-relocs/Makefile +++ b/unit-tests/test-cases/read-only-relocs/Makefile @@ -1,4 +1,4 @@ -## + ## # Copyright (c) 2006-2007 Apple Inc. All rights reserved. # # @APPLE_LICENSE_HEADER_START@ @@ -51,6 +51,10 @@ ifeq (${ARCH},x86_64) XRELOCS_NEEDED = ${FAIL_IF_STDIN} LRELOCS_NEEDED = ${FAIL_IF_STDIN} endif +ifeq (${FILEARCH},arm) + NO_PIC = -mdynamic-no-pic + STATIC = -static +endif