Browse Source

Make sure that -fPIC is present if needed

tags/v0.3.5
Martin Kroeker GitHub 7 years ago
parent
commit
d6818777d1
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      exports/Makefile

+ 6
- 0
exports/Makefile View File

@@ -2,6 +2,12 @@ TOPDIR = ..


include ../Makefile.system include ../Makefile.system


ifdef NEED_PIC
ifeq (,$(findstring PIC,$(CFLAGS)))
CFLAGS+= -fPIC
endif
endif

ifndef EXPRECISION ifndef EXPRECISION
EXPRECISION = 0 EXPRECISION = 0
endif endif


Loading…
Cancel
Save