summaryrefslogtreecommitdiff
path: root/generate/unix/acpiexec
diff options
context:
space:
mode:
authorLv Zheng <lv.zheng@intel.com>2016-07-22 23:48:21 +0800
committerLv Zheng <lv.zheng@intel.com>2016-07-22 23:48:21 +0800
commitd261d40ea168f8e4c4e3986de720b8651c4aba1c (patch)
treec6465c97fcbfdae5076f1b658cf893b23271b899 /generate/unix/acpiexec
parent9bb265c2afb9910e46f820d6759648580edabd09 (diff)
downloadacpica-d261d40ea168f8e4c4e3986de720b8651c4aba1c.tar.gz
Clib: Add -nostdinc support for EFI layer
This patch adds sprintf()/snprintf()/vsnprintf()/printf()/vfprintf() support for OSPMs that have ACPI_USE_SYSTEM_CLIBRARY defined but do not have ACPI_USE_STANDARD_HEADERS defined. -iwithprefix include is required to include <stdarg.h> which contains compiler specific implementation of vargs when -nostdinc is specified. -fno-builtin is required for GCC to avoid optimization performed printf(). This optimization cannot be automatically disabled by specifying -nostdlib. Please refer to the Link 1 for the details. Lv Zheng. Link 1: http://www.ciselant.de/projects/gcc_printf/gcc_printf.html Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Diffstat (limited to 'generate/unix/acpiexec')
-rw-r--r--generate/unix/acpiexec/Makefile1
1 files changed, 0 insertions, 1 deletions
diff --git a/generate/unix/acpiexec/Makefile b/generate/unix/acpiexec/Makefile
index 7f8befabb..7393a69fc 100644
--- a/generate/unix/acpiexec/Makefile
+++ b/generate/unix/acpiexec/Makefile
@@ -224,7 +224,6 @@ OBJECTS = \
$(OBJDIR)/utownerid.o\
$(OBJDIR)/utnonansi.o\
$(OBJDIR)/utpredef.o\
- $(OBJDIR)/utprint.o\
$(OBJDIR)/utresrc.o\
$(OBJDIR)/utstate.o\
$(OBJDIR)/utstring.o\