patch-base_runtime_objs_mk_x86-openbsd 690 B

1234567891011121314151617181920212223242526
  1. $OpenBSD: patch-base_runtime_objs_mk_x86-openbsd,v 1.2 2016/08/11 11:34:13 jca Exp $
  2. Honor CC/CFLAGS.
  3. --- base/runtime/objs/mk.x86-openbsd.orig Tue Dec 2 17:50:18 2008
  4. +++ base/runtime/objs/mk.x86-openbsd Thu Aug 11 12:46:54 2016
  5. @@ -8,14 +8,14 @@ SHELL = /bin/sh
  6. MAKE = gmake
  7. ARFLAGS = Trcv
  8. -CC = gcc -ansi
  9. -CFLAGS = -O2
  10. -CPP = gcc -x assembler-with-cpp -E -P
  11. +CC ?= gcc -ansi
  12. +CFLAGS ?= -O2
  13. +CPP ?= gcc -x assembler-with-cpp -E -P
  14. #CPP = /usr/bin/cpp -P
  15. XOBJS =
  16. XLIBS = ../c-libs/dl/libunix-dynload.a
  17. -LD_LIBS =
  18. +LD_LIBS = -Wl,-z,wxneeded
  19. BASE_DEFS =
  20. DEFS = $(XDEFS) $(BASE_DEFS) -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_OPENBSD -DDLOPEN
  21. TARGET = X86