depot/third_party/nixpkgs/pkgs/development/libraries/judy/cross.patch
Default email 81047829ea Project import generated by Copybara.
GitOrigin-RevId: 48d63e924a2666baf37f4f14a18f19347fbd54a2
2022-02-10 15:34:41 -05:00

22 lines
941 B
Diff

--- a/src/Judy1/Makefile.am
+++ b/src/Judy1/Makefile.am
@@ -18,7 +18,7 @@
libinline_la_CFLAGS = $(AM_CFLAGS) -DJUDYGETINLINE
Judy1Tables.c: Judy1TablesGen.c
- $(CC) $(INCLUDES) $(AM_CFLAGS) @CFLAGS@ -o Judy1TablesGen Judy1TablesGen.c; ./Judy1TablesGen
+ $(CC_FOR_BUILD) $(INCLUDES) $(AM_CFLAGS) @CFLAGS@ -o Judy1TablesGen Judy1TablesGen.c; ./Judy1TablesGen
Judy1ByCount.c:../JudyCommon/JudyByCount.c
cp -f ../JudyCommon/JudyByCount.c Judy1ByCount.c
--- a/src/JudyL/Makefile.am
+++ b/src/JudyL/Makefile.am
@@ -18,7 +18,7 @@
libinline_la_CFLAGS = $(AM_CFLAGS) -DJUDYGETINLINE
JudyLTables.c: JudyLTablesGen.c
- $(CC) $(INCLUDES) $(AM_CFLAGS) @CFLAGS@ -o JudyLTablesGen JudyLTablesGen.c; ./JudyLTablesGen
+ $(CC_FOR_BUILD) $(INCLUDES) $(AM_CFLAGS) @CFLAGS@ -o JudyLTablesGen JudyLTablesGen.c; ./JudyLTablesGen
JudyLByCount.c: ../JudyCommon/JudyByCount.c
cp -f ../JudyCommon/JudyByCount.c JudyLByCount.c