Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2022-03-18 18:36:26 +0300
committerSebastian Huber <sebastian.huber@embedded-brains.de>2022-03-21 13:32:59 +0300
commit64b208103d284e8b64db604b34736a861e14b927 (patch)
treeb30b4f0368c606686fa1b4b51ac36fa7c025572c /newlib/libc/iconv
parent157f03053dd94b87026b3a647dd98b0fc50c3d55 (diff)
iconv: Fix EL/IX level 2 handling
Consistently use if !ELIX_LEVEL_1 to enable EL/IX level 2 interfaces.
Diffstat (limited to 'newlib/libc/iconv')
-rw-r--r--newlib/libc/iconv/ccs/Makefile.inc2
-rw-r--r--newlib/libc/iconv/ces/Makefile.inc2
-rw-r--r--newlib/libc/iconv/lib/Makefile.inc8
3 files changed, 2 insertions, 10 deletions
diff --git a/newlib/libc/iconv/ccs/Makefile.inc b/newlib/libc/iconv/ccs/Makefile.inc
index 84a53f4fe..76da3c74e 100644
--- a/newlib/libc/iconv/ccs/Makefile.inc
+++ b/newlib/libc/iconv/ccs/Makefile.inc
@@ -1,7 +1,7 @@
if ENABLE_NEWLIB_ICONV
## The following interfaces are EL/IX level 2
-if ELIX_LEVEL_1
+if !ELIX_LEVEL_1
libc_a_SOURCES += \
%D%/ccsbi.c \
%D%/iso_8859_10.c %D%/iso_8859_13.c %D%/iso_8859_14.c %D%/iso_8859_15.c \
diff --git a/newlib/libc/iconv/ces/Makefile.inc b/newlib/libc/iconv/ces/Makefile.inc
index 6fb933970..883c72c9d 100644
--- a/newlib/libc/iconv/ces/Makefile.inc
+++ b/newlib/libc/iconv/ces/Makefile.inc
@@ -1,7 +1,7 @@
if ENABLE_NEWLIB_ICONV
## The following interfaces are EL/IX level 2
-if ELIX_LEVEL_1
+if !ELIX_LEVEL_1
libc_a_SOURCES += \
%D%/utf-8.c \
%D%/utf-16.c \
diff --git a/newlib/libc/iconv/lib/Makefile.inc b/newlib/libc/iconv/lib/Makefile.inc
index 6c7d015cd..96e196c48 100644
--- a/newlib/libc/iconv/lib/Makefile.inc
+++ b/newlib/libc/iconv/lib/Makefile.inc
@@ -1,13 +1,5 @@
if ENABLE_NEWLIB_ICONV
-libc_a_SOURCES += \
- %D%/aliasesi.c \
- %D%/ucsconv.c \
- %D%/nullconv.c \
- %D%/iconv.c \
- %D%/aliasesbi.c \
- %D%/iconvnls.c
-
## The following interfaces are EL/IX level 2
if !ELIX_LEVEL_1
libc_a_SOURCES += \