Fix recent typo. -DL_ENDIAN / -DB_ENDIAN, not -DL_DEBIAN / -DB_DEBIAN
authorRichard Levitte <levitte@openssl.org>
Mon, 29 Jan 2018 11:42:35 +0000 (12:42 +0100)
committerRichard Levitte <levitte@openssl.org>
Mon, 29 Jan 2018 14:25:06 +0000 (15:25 +0100)
Thank you Beat Bolli for notifying us

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5189)

Configurations/10-main.conf

index 735b2a3d72d6d8a7dca4d0bbbd7f21827e297a50..62fbb60f1ef122d1f8393085cc4266b0163e25c3 100644 (file)
@@ -199,7 +199,7 @@ my %targets = (
                                               debug   => "-O0 -g",
                                               release => "-O3 -fomit-frame-pointer"),
                                        threads("-pthread")),
-        cppflags         => add("-DL_DEBIAN"),
+        cppflags         => add("-DL_ENDIAN"),
         ex_libs          => add(threads("-pthread")),
         bn_ops           => "BN_LLONG",
         shared_cflag     => "-fPIC",
@@ -220,7 +220,7 @@ my %targets = (
                                               debug   => "-O0 -g",
                                               release => "-O3"),
                                        threads("-pthread")),
-        cppflags         => add("-DL_DEBIAN"),
+        cppflags         => add("-DL_ENDIAN"),
         ex_libs          => add(threads("-pthread")),
         bn_ops           => "SIXTY_FOUR_BIT_LONG",
         perlasm_scheme   => "elf",
@@ -248,7 +248,7 @@ my %targets = (
         cflags           => add_before(picker(default => "-xarch=generic64 -xstrconst -Xa",
                                               debug   => "-g",
                                               release => "-xO5 -xdepend -xbuiltin")),
-        cppflags         => add("-DL_DEBIAN", threads("-D_REENTRANT")),
+        cppflags         => add("-DL_ENDIAN", threads("-D_REENTRANT")),
         thread_scheme    => "pthreads",
         lflags           => add(threads("-mt")),
         ex_libs          => add(threads("-lpthread")),
@@ -267,7 +267,7 @@ my %targets = (
                                               debug   => "-O0 -g",
                                               release => "-O3"),
                                        threads("-pthread")),
-        cppflags         => add("-DB_DEBIAN -DBN_DIV2W"),
+        cppflags         => add("-DB_ENDIAN -DBN_DIV2W"),
         ex_libs          => add(threads("-pthread")),
         bn_ops           => "BN_LLONG RC4_CHAR",
         shared_cflag     => "-fPIC",
@@ -300,7 +300,7 @@ my %targets = (
         cflags           => add_before(picker(default => "-xstrconst -Xa",
                                               debug   => "-g",
                                               release => "-xO5 -xdepend")),
-        cppflags         => add("-DB_DEBIAN -DBN_DIV2W",
+        cppflags         => add("-DB_ENDIAN -DBN_DIV2W",
                                 threads("-D_REENTRANT")),
         lflags           => add(threads("-mt")),
         ex_libs          => add(threads("-lpthread")),
@@ -332,7 +332,7 @@ my %targets = (
         cflags           => combine(picker(default => "-mabi=n32",
                                            debug   => "-g -O0",
                                            release => "-O3")),
-        cppflags         => combine("-DB_DEBIAN -DBN_DIV3W",
+        cppflags         => combine("-DB_ENDIAN -DBN_DIV3W",
                                     threads("-D_SGI_MP_SOURCE")),
         ex_libs          => add(threads("-lpthread")),
         bn_ops           => "RC4_CHAR SIXTY_FOUR_BIT",
@@ -349,7 +349,7 @@ my %targets = (
         cflags           => combine(picker(default => "-n32 -mips3 -use_readonly_const -G0 -rdata_shared",
                                            debug   => "-g -O0",
                                            release => "-O2")),
-        cppflags         => combine("-DB_DEBIAN -DBN_DIV3W",
+        cppflags         => combine("-DB_ENDIAN -DBN_DIV3W",
                                     threads("-D_SGI_MP_SOURCE")),
         ex_libs          => add(threads("-lpthread")),
         bn_ops           => "RC4_CHAR SIXTY_FOUR_BIT",
@@ -367,7 +367,7 @@ my %targets = (
         cflags           => combine(picker(default => "-mabi=64 -mips4",
                                            debug   => "-g -O0",
                                            release => "-O3")),
-        cppflags         => combine("-DB_DEBIAN -DBN_DIV3W",
+        cppflags         => combine("-DB_ENDIAN -DBN_DIV3W",
                                     threads("-D_SGI_MP_SOURCE")),
         ex_libs          => add(threads("-lpthread")),
         bn_ops           => "RC4_CHAR SIXTY_FOUR_BIT_LONG",
@@ -384,7 +384,7 @@ my %targets = (
         cflags           => combine(picker(default => "-64 -mips4 -use_readonly_const -G0 -rdata_shared",
                                            debug   => "-g -O0",
                                            release => "-O2")),
-        cppflags         => combine("-DB_DEBIAN -DBN_DIV3W",
+        cppflags         => combine("-DB_ENDIAN -DBN_DIV3W",
                                     threads("-D_SGI_MP_SOURCE")),
         ex_libs          => add(threads("-lpthread")),
         bn_ops           => "RC4_CHAR SIXTY_FOUR_BIT_LONG",
@@ -429,7 +429,7 @@ my %targets = (
         cflags           => combine(picker(debug   => "-O0 -g",
                                            release => "-O3"),
                                     threads("-pthread")),
-        cppflags         => "-DB_DEBIAN -DBN_DIV2W",
+        cppflags         => "-DB_ENDIAN -DBN_DIV2W",
         ex_libs          => add("-Wl,+s -ldld", threads("-pthread")),
         bn_ops           => "BN_LLONG",
         thread_scheme    => "pthreads",
@@ -448,7 +448,7 @@ my %targets = (
         cc               => "gcc",
         cflags           => combine(picker(debug   => "-O0 -g",
                                            release => "-O3")),
-        cppflags         => combine("-DB_DEBIAN", threads("-D_REENTRANT")),
+        cppflags         => combine("-DB_ENDIAN", threads("-D_REENTRANT")),
         ex_libs          => add("-ldl"),
         bn_ops           => "SIXTY_FOUR_BIT_LONG RC4_CHAR",
         thread_scheme    => "pthreads",
@@ -467,7 +467,7 @@ my %targets = (
         cflags           => combine(picker(default => "+Optrs_strongly_typed -Ae +ESlit",
                                            debug   => "+O0 +d -g",
                                            release => "+O3")),
-        cppflags         => combine("-DB_DEBIAN -DBN_DIV2W -DMD32_XARRAY",
+        cppflags         => combine("-DB_ENDIAN -DBN_DIV2W -DMD32_XARRAY",
                                     threads("-D_REENTRANT")),
         ex_libs          => add("-Wl,+s -ldld",threads("-lpthread")),
         bn_ops           => "RC4_CHAR",
@@ -489,7 +489,7 @@ my %targets = (
         cflags           => combine(picker(default => "+DD64 +Optrs_strongly_typed -Ae +ESlit",
                                            debug   => "+O0 +d -g",
                                            release => "+O3")),
-        cppflags         => combine("-DB_DEBIAN -DMD32_XARRAY",
+        cppflags         => combine("-DB_ENDIAN -DMD32_XARRAY",
                                     threads("-D_REENTRANT")),
         ex_libs          => add("-ldl",threads("-lpthread")),
         bn_ops           => "SIXTY_FOUR_BIT_LONG RC4_CHAR",
@@ -509,7 +509,7 @@ my %targets = (
         cflags           => combine(picker(default => "-Ae +DD32 +Olit=all -z",
                                            debug   => "+O0 +d -g",
                                            release => "+O2")),
-        cppflags         => combine("-DB_DEBIAN", threads("-D_REENTRANT")),
+        cppflags         => combine("-DB_ENDIAN", threads("-D_REENTRANT")),
         ex_libs          => add("-ldl",threads("-lpthread")),
         bn_ops           => "SIXTY_FOUR_BIT",
         thread_scheme    => "pthreads",
@@ -526,7 +526,7 @@ my %targets = (
         cflags           => combine(picker(default => "-Ae +DD64 +Olit=all -z",
                                            debug   => "+O0 +d -g",
                                            release => "+O3")),
-        cppflags         => combine("-DB_DEBIAN", threads("-D_REENTRANT")),
+        cppflags         => combine("-DB_ENDIAN", threads("-D_REENTRANT")),
         ex_libs          => add("-ldl", threads("-lpthread")),
         bn_ops           => "SIXTY_FOUR_BIT_LONG",
         thread_scheme    => "pthreads",
@@ -544,7 +544,7 @@ my %targets = (
         cflags           => combine(picker(debug   => "-O0 -g",
                                            release => "-O3"),
                                     threads("-pthread")),
-        cppflags         => "-DB_DEBIAN",
+        cppflags         => "-DB_ENDIAN",
         ex_libs          => add("-ldl", threads("-pthread")),
         bn_ops           => "SIXTY_FOUR_BIT",
         thread_scheme    => "pthreads",
@@ -562,7 +562,7 @@ my %targets = (
                                            debug   => "-O0 -g",
                                            release => "-O3"),
                                     threads("-pthread")),
-        cppflags         => "-DB_DEBIAN",
+        cppflags         => "-DB_ENDIAN",
         ex_libs          => add("-ldl", threads("-pthread")),
         bn_ops           => "SIXTY_FOUR_BIT_LONG",
         thread_scheme    => "pthreads",