mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-25 00:11:07 +00:00
3a378bb970
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
10 lines
121 B
Makefile
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
|