genode/repos/ports/lib/mk/libc_noux.mk
Christian Prochaska 3a378bb970 libc_noux: remove dependency on 'platform_env.h'
Currently, libc_noux includes the 'base/src/base/env/platform_env.h' file
to be able to reinitialize the environment using the 'Platform_env'
interface. For base-linux, a special version of this file exists and the
inclusion of the generic version in libc_noux causes GCC 4.9 to make wrong
assumptions about the memory layout of the 'Env' object returned by
'Genode::env()'.

This commit moves the reinitialization functions to the 'Env' interface to
avoid the need to include the 'platform_env.h' file in libc_noux.

Fixes #1510
2015-05-26 09:39:47 +02:00

10 lines
121 B
Makefile

SRC_CC = plugin.cc
LIBS += libc
REP_INC_DIR += src/lib/libc
vpath %.cc $(REP_DIR)/src/lib/libc_noux
SHARED_LIB = yes