< prev index next >

make/linux/makefiles/rules.make

Print this page

        

@@ -134,19 +134,27 @@
 # With parallel makes, print a message at the end of compilation.
 ifeq    ($(findstring j,$(MFLAGS)),j)
 COMPILE_DONE    = && { echo Done with $<; }
 endif
 
+ifdef LP64
+GENPIC = yes
+endif
+
+ifeq ($(BUILDARCH), aarch32)
+GENPIC = yes
+endif
+
 # Include $(NONPIC_OBJ_FILES) definition
-ifndef LP64
+ifndef GENPIC
 include $(GAMMADIR)/make/pic.make
 endif
 
 include $(GAMMADIR)/make/altsrc.make
 
 # The non-PIC object files are only generated for 32 bit platforms.
-ifdef LP64
+ifdef GENPIC
 %.o: %.cpp
         @echo Compiling $<
         $(QUIETLY) $(REMOVE_TARGET)
         $(QUIETLY) $(COMPILE.CXX) $(DEPFLAGS) -o $@ $< $(COMPILE_DONE)
 else
< prev index next >