ENABLE_PIC is either 0 or 1, but is always defined.
authorNick Lewycky <nicholas@mxc.ca>
Tue, 3 Mar 2009 07:45:09 +0000 (07:45 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Tue, 3 Mar 2009 07:45:09 +0000 (07:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65938 91177308-0d34-0410-b5e6-96231b3b80d8

tools/Makefile

index 4f4764c9d0beabfdb6165aa58fc875064fc3e526..237da53bfb9de9a71810606e9f9f1c708916312f 100644 (file)
@@ -24,7 +24,7 @@ PARALLEL_DIRS := opt llvm-as llvm-dis \
 
 include $(LEVEL)/Makefile.config
 
-ifdef ENABLE_PIC
+ifeq ($(ENABLE_PIC),1)
   DIRS += lto
   ifdef BINUTILS_INCDIR
     DIRS += gold