Skip to content

Commit 5eeef58

Browse files
authored
Simplify libprintf_long_double. NFC (#26428)
1 parent 4e24532 commit 5eeef58

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

tools/system_libs.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1494,11 +1494,8 @@ def can_use(self):
14941494
class libprintf_long_double(libc):
14951495
name = 'libprintf_long_double'
14961496
cflags = ['-DEMSCRIPTEN_PRINTF_LONG_DOUBLE']
1497-
1498-
def get_files(self):
1499-
return files_in_path(
1500-
path='system/lib/libc/musl/src/stdio',
1501-
filenames=['vfprintf.c'])
1497+
src_dir = 'system/lib/libc/musl/src/stdio'
1498+
src_files = ['vfprintf.c']
15021499

15031500
def can_use(self):
15041501
return super().can_use() and settings.PRINTF_LONG_DOUBLE

0 commit comments

Comments
 (0)